Quicker refreshes in xmonad
This commit is contained in:
@@ -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]),
|
||||||
|
Reference in New Issue
Block a user