diff options
author | tdback <tyler@tdback.net> | 2025-02-03 21:27:35 -0500 |
---|---|---|
committer | tdback <tyler@tdback.net> | 2025-02-03 21:27:35 -0500 |
commit | 4f7f9d09670f1f66eb06171db637ba72ba3221cf (patch) | |
tree | 54c932862c4a793621445d9f3a4be4e68a96f8eb | |
parent | 68243da80a76b94bf464db5751b4b3d08c7c7e1f (diff) |
only try to restart if xmonad successfully recompiles
-rw-r--r-- | lib/KeyBindings.hs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/KeyBindings.hs b/lib/KeyBindings.hs index a4b26d3..3206270 100644 --- a/lib/KeyBindings.hs +++ b/lib/KeyBindings.hs @@ -22,7 +22,7 @@ myKeys conf@(XConfig{XMonad.modMask = modm}) = , ((modm, xK_b), safeSpawn myBrowser []) , ((modm .|. shiftMask, xK_c), kill) , ((modm, xK_n), refresh) - , ((modm, xK_q), spawn "xmonad --recompile; xmonad --restart") + , ((modm, xK_q), spawn "xmonad --recompile && xmonad --restart") , ((modm, xK_f), sendMessage $ Toggle FULL) , ((modm .|. shiftMask, xK_f), withFocused WS.toggleFloat) , ((modm, xK_space), sendMessage NextLayout) |