Quicker refreshes in xmonad

This commit is contained in:
Emmet 2023-06-05 08:06:16 -05:00
parent ba95172071
commit 28039aa719
2 changed files with 2 additions and 2 deletions

View file

@ -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]),

View file

@ -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]),