XMonad: Auto-move common windows to workspaces
Alan Pearce alan@alanpearce.co.uk
Sun, 17 Aug 2014 15:49:29 +0100
1 files changed, 4 insertions(+), 0 deletions(-)
jump to
M tag-xmonad/xmonad/xmonad.hs → tag-xmonad/xmonad/xmonad.hs
@@ -13,6 +13,10 @@ main = do xmproc <-spawnPipe "/usr/bin/xmobar /home/alan/.xmobarrc" xmonad $ defaultConfig { manageHook = composeOne [ + className =? "Firefox" -?> doShift "2", + className =? "Pidgin" -?> doShift "3", + className =? "nuvolaplayer" -?> doShift "8", + className =? "Transmission-gtk" -?> doShift "9", isFullscreen -?> doFullFloat, fmap ("mpv" `isPrefixOf`) title -?> doFullFloat ] <+> manageDocks <+> manageHook defaultConfig,