diff options
author | Alan Pearce | 2014-08-17 15:49:29 +0100 |
---|---|---|
committer | Alan Pearce | 2014-08-17 15:49:29 +0100 |
commit | 5f8b835a1bb7793431a525e213fc7c482f59a791 (patch) | |
tree | 8843ce136c1b6e40f5b0f561b5b9f73a67a342d4 | |
parent | 20337e48126635041453c187adfe602dca230c12 (diff) | |
download | nixfiles-5f8b835a1bb7793431a525e213fc7c482f59a791.tar.lz nixfiles-5f8b835a1bb7793431a525e213fc7c482f59a791.tar.zst nixfiles-5f8b835a1bb7793431a525e213fc7c482f59a791.zip |
XMonad: Auto-move common windows to workspaces
-rw-r--r-- | tag-xmonad/xmonad/xmonad.hs | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/tag-xmonad/xmonad/xmonad.hs b/tag-xmonad/xmonad/xmonad.hs index 56c2b00e..4b67cb48 100644 --- a/tag-xmonad/xmonad/xmonad.hs +++ b/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, |