all repos — nixfiles @ 5f8b835a1bb7793431a525e213fc7c482f59a791

System and user configuration, managed by nix and home-manager

XMonad: Auto-move common windows to workspaces
Alan Pearce alan@alanpearce.co.uk
Sun, 17 Aug 2014 15:49:29 +0100
commit

5f8b835a1bb7793431a525e213fc7c482f59a791

parent

20337e48126635041453c187adfe602dca230c12

1 files changed, 4 insertions(+), 0 deletions(-)

jump to
M tag-xmonad/xmonad/xmonad.hstag-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,