mirror of
https://github.com/correl/xmonadcfg.git
synced 2024-11-27 11:09:57 +00:00
24 lines
695 B
Haskell
24 lines
695 B
Haskell
|
import XMonad
|
||
|
import XMonad.Config.Gnome
|
||
|
|
||
|
-- Declare config preferences
|
||
|
config_terminal = "terminator" -- Default terminal to run
|
||
|
-- config_focusFollowsMouse :: Bool -- Have focus not follow mouse
|
||
|
-- config_focusFollowsMouse = False
|
||
|
|
||
|
myManageHook = composeAll
|
||
|
[ resource =? "Do" --> doIgnore
|
||
|
, className =? "Gimp" --> doFloat
|
||
|
, className =? "Vncviewer" --> doFloat
|
||
|
]
|
||
|
|
||
|
-- Run xmonad with the specified conifguration
|
||
|
main = xmonad myConfig
|
||
|
|
||
|
-- Use the gnomeConfig, but change a couple things
|
||
|
myConfig = gnomeConfig {
|
||
|
terminal = config_terminal,
|
||
|
-- focusFollowsMouse = config_focusFollowsMouse,
|
||
|
manageHook = manageHook gnomeConfig <+> myManageHook
|
||
|
}
|