diff --git a/user/wm/xmonad/xmonad.hs b/user/wm/xmonad/xmonad.hs index 6e48743..e1a86f8 100644 --- a/user/wm/xmonad/xmonad.hs +++ b/user/wm/xmonad/xmonad.hs @@ -252,7 +252,7 @@ myKeys conf@(XConfig {XMonad.modMask = modm}) = ((modm .|. shiftMask, xK_space), setLayout $ XMonad.layoutHook conf), -- 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 ((modm, xK_j), C.sequence_ [windowGo D True, switchLayer, warpToWindow 0.5 0.5]), diff --git a/user/wm/xmonad/xmonad.org b/user/wm/xmonad/xmonad.org index 6bb4d20..5c0edd4 100644 --- a/user/wm/xmonad/xmonad.org +++ b/user/wm/xmonad/xmonad.org @@ -361,7 +361,7 @@ These keybindings are then set via: ((modm .|. shiftMask, xK_space), setLayout $ XMonad.layoutHook conf), -- 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 ((modm, xK_j), C.sequence_ [windowGo D True, switchLayer, warpToWindow 0.5 0.5]),