-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathxmonad.hs
34 lines (31 loc) · 1.33 KB
/
xmonad.hs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
import XMonad
import XMonad.Hooks.ManageDocks
import XMonad.Config.Gnome
import XMonad.Layout.NoBorders
import XMonad.Util.EZConfig
import XMonad.Hooks.ManageHelpers
myManageHook = composeAll
[ className =? "Google-chrome" --> doShift "3:franee"
, className =? "Rhythmbox" --> doShift "5:music"
, className =? "Banshee" --> doShift "5:music"
, className =? "Vlc" --> doShift "5:music"
, className =? "Pidgin" --> doShift "1:pidgin"
, className =? "Skype" --> doShift "2:skype"
, className =? "Terminator" --> doShift "7:shell1"
, className =? "Unity-2d-panel" --> doIgnore
, className =? "Unity-2d-launcher" --> doIgnore
, manageDocks
, isFullscreen --> doFullFloat
]
main = xmonad $ gnomeConfig
{ workspaces = ["1:pidgin","2:skype","3:franee","4:caresharing","5:music","6:temp1","7:shell1","8:shell2","9:temp2"]
, terminal = "terminator"
, modMask = mod4Mask
, layoutHook = smartBorders (layoutHook gnomeConfig)
, manageHook = myManageHook <+> manageHook gnomeConfig
}
`additionalKeysP`
[ ("M-S-q", spawn "gnome-session-save --gui --logout-dialog")
, ("M-S-l", spawn "gnome-screensaver-command -l")
, ("M-p", spawn "kupfer")
]