mirror of
https://github.com/librephoenix/nixos-config
synced 2025-01-19 15:15:52 +05:30
Quicker refreshes in xmonad
This commit is contained in:
parent
ba95172071
commit
28039aa719
|
@ -252,7 +252,7 @@ myKeys conf@(XConfig {XMonad.modMask = modm}) =
|
||||||
((modm .|. shiftMask, xK_space), setLayout $ XMonad.layoutHook conf),
|
((modm .|. shiftMask, xK_space), setLayout $ XMonad.layoutHook conf),
|
||||||
|
|
||||||
-- Resize viewed windows to the correct size
|
-- Resize viewed windows to the correct size
|
||||||
((modm, xK_r), refresh),
|
((modm, xK_r), C.sequence_ [spawn "killall xmobar; autorandr -c; xmonad --restart;", refresh]),
|
||||||
|
|
||||||
-- Move focus to window below
|
-- Move focus to window below
|
||||||
((modm, xK_j), C.sequence_ [windowGo D True, switchLayer, warpToWindow 0.5 0.5]),
|
((modm, xK_j), C.sequence_ [windowGo D True, switchLayer, warpToWindow 0.5 0.5]),
|
||||||
|
|
|
@ -361,7 +361,7 @@ These keybindings are then set via:
|
||||||
((modm .|. shiftMask, xK_space), setLayout $ XMonad.layoutHook conf),
|
((modm .|. shiftMask, xK_space), setLayout $ XMonad.layoutHook conf),
|
||||||
|
|
||||||
-- Resize viewed windows to the correct size
|
-- Resize viewed windows to the correct size
|
||||||
((modm, xK_r), refresh),
|
((modm, xK_r), C.sequence_ [spawn "killall xmobar; autorandr -c; xmonad --restart;", refresh]),
|
||||||
|
|
||||||
-- Move focus to window below
|
-- Move focus to window below
|
||||||
((modm, xK_j), C.sequence_ [windowGo D True, switchLayer, warpToWindow 0.5 0.5]),
|
((modm, xK_j), C.sequence_ [windowGo D True, switchLayer, warpToWindow 0.5 0.5]),
|
||||||
|
|
Loading…
Reference in a new issue