ソースを参照

~/.xmonad: Put im/mail windows on third workspace.

Lucas Stadler 12 年 前
コミット
47a9ccfd36
共有1 個のファイルを変更した4 個の追加0 個の削除を含む
  1. 4 0
      .xmonad/xmonad.hs

+ 4 - 0
.xmonad/xmonad.hs

@ -20,6 +20,9 @@ import qualified XMonad.StackSet as W
20 20
--  * Some kind of launcher
21 21
--  * Logging framework (like reading urls from Firefox and the like)
22 22
23
(??) :: Query a -> (a -> Bool) -> Query Bool
24
q ?? p = fmap p q
25
23 26
main = do
24 27
    kbMap <- newIORef "us"
25 28
    xmonad $ defaultConfig {
@ -27,6 +30,7 @@ main = do
27 30
        terminal = "sakura",
28 31
        -- Ignore docks (via some WM_* attribute?)
29 32
        manageHook = composeAll [
33
                        className ?? (\cn -> any (cn ==) ["Skype", "Pidgin", "Geary"]) --> doF (W.shift "3"),
30 34
                        manageSpawn,
31 35
                        manageDocks,
32 36
                        fullscreenManageHook