From 28039aa7194af5b5a076646b294beaa9487e9278 Mon Sep 17 00:00:00 2001 From: Emmet Date: Mon, 5 Jun 2023 08:06:16 -0500 Subject: [PATCH] Quicker refreshes in xmonad --- user/wm/xmonad/xmonad.hs | 2 +- user/wm/xmonad/xmonad.org | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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]),