summary refs log tree commit diff stats
path: root/tag-xmonad
diff options
context:
space:
mode:
authorAlan Pearce2014-08-17 15:49:29 +0100
committerAlan Pearce2014-08-17 15:49:29 +0100
commit5f8b835a1bb7793431a525e213fc7c482f59a791 (patch)
tree8843ce136c1b6e40f5b0f561b5b9f73a67a342d4 /tag-xmonad
parent20337e48126635041453c187adfe602dca230c12 (diff)
downloaddotfiles-5f8b835a1bb7793431a525e213fc7c482f59a791.tar.lz
dotfiles-5f8b835a1bb7793431a525e213fc7c482f59a791.tar.zst
dotfiles-5f8b835a1bb7793431a525e213fc7c482f59a791.zip
XMonad: Auto-move common windows to workspaces
Diffstat (limited to 'tag-xmonad')
-rw-r--r--tag-xmonad/xmonad/xmonad.hs4
1 files changed, 4 insertions, 0 deletions
diff --git a/tag-xmonad/xmonad/xmonad.hs b/tag-xmonad/xmonad/xmonad.hs
index 56c2b00..4b67cb4 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,