Explorar el Código

~/.xmonad: focus visible workspaces instead of swapping them.

only matters with multiple monitors (i think), works better for me.
Lucas Stadler %!s(int64=11) %!d(string=hace) años
padre
commit
7c406c1664
Se han modificado 1 ficheros con 4 adiciones y 2 borrados
  1. 4 2
      .xmonad/xmonad.hs

+ 4 - 2
.xmonad/xmonad.hs

@ -43,7 +43,7 @@ main = do
43 43
        -- Don't overwrite the section used by docks
44 44
        layoutHook = avoidStruts $ smartBorders $ layoutHook defaultConfig,
45 45
        handleEventHook = fullscreenEventHook
46
     } `additionalKeys` [
46
     } `additionalKeys` ([
47 47
        ((mod4Mask, xK_b), spawnHere "firefox"),
48 48
        ((mod4Mask .|. shiftMask, xK_b), spawnHere "firefox -private-window"),
49 49
@ -59,4 +59,6 @@ main = do
59 59
60 60
        ((mod4Mask, xK_f), sendMessage ToggleStruts),
61 61
        ((mod4Mask, xK_q), restart "xmonad" True)
62
     ]
62
     ] ++ [ ( (m .|. mod4Mask, k), windows $ f i)
63
            | (i, k) <- zip (map show [1..9]) [xK_1 .. xK_9]
64
            , (f, m) <- [(W.view, 0), (W.shift, shiftMask)]])