diff options
| -rw-r--r-- | config/xmonad/xmonad.hs | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/config/xmonad/xmonad.hs b/config/xmonad/xmonad.hs index aa90778..ea547f1 100644 --- a/config/xmonad/xmonad.hs +++ b/config/xmonad/xmonad.hs @@ -5,6 +5,7 @@ import System.Exit import XMonad import XMonad.Config.Desktop (desktopConfig) +import XMonad.ManageHook (composeAll, doFloat, className, (-->), (=?), (<+>)) -- Utilities import XMonad.Util.Dmenu (menuArgs) @@ -49,7 +50,12 @@ layoutHook' = spacing' 4 $ reflectHoriz tiledVerticalBigMaster -- main monitor tiledHorizontalEven = Tall 1 (3 / 100) (1 / 2) spacing' x = spacingRaw True (Border x x x x) False (Border x x x x) True -manageHook' = insertPosition End Newer -- insert new window at the end of the current layout +manageHook' = composeAll + [ className =? "Anki" --> doFloat + , className =? "Steam" --> doFloat + , className =? "Gimp" --> doFloat + ] + <+> insertPosition End Newer -- insert new window at the end of the current layout keys' = [ ("<XF86AudioLowerVolume>", spawn "pulseaudio-ctl down") , ("<XF86AudioRaiseVolume>", spawn "pulseaudio-ctl up") |
