From cb5a94661cc2adbd3b2bb0e8a60f8569095745b7 Mon Sep 17 00:00:00 2001 From: ndwarshuis Date: Thu, 26 Mar 2020 21:45:26 -0400 Subject: [PATCH] ENH move some system commands to the function row --- bin/xmonad.hs | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/bin/xmonad.hs b/bin/xmonad.hs index 38a3030..d73520d 100644 --- a/bin/xmonad.hs +++ b/bin/xmonad.hs @@ -603,7 +603,6 @@ mkKeys hs client c = , ("M-C-S-s", "capture screen", runScreenCapture) , ("M-C-d", "capture desktop", runDesktopCapture) -- , ("M-C-S-s", "capture focused window", spawn myWindowCap) - , ("M-", "lock screen", runScreenLock) ] ++ mkNamedSubmap c "Launchers" @@ -629,7 +628,6 @@ mkKeys hs client c = , ("", "volume down", runVolumeDown) , ("", "volume up", runVolumeUp) , ("", "volume mute", runVolumeMute) - , ("M-C-b", "toggle bluetooth", runToggleBluetooth) ] ++ mkNamedSubmap c "System" @@ -637,10 +635,13 @@ mkKeys hs client c = , ("M-,", "backlight down", runDecBacklight) , ("M-M1-,", "backlight min", runMinBacklight) , ("M-M1-.", "backlight max", runMaxBacklight) - , ("M-M1-=", "toggle screensaver", toggleDPMS) - , ("M-", "restart xmonad", runCleanup hs client >> runRestart) - , ("M-S-", "recompile xmonad", runRecompile) , ("M-", "power menu", runPowerPrompt) , ("M-", "quit xmonad", runQuitPrompt) - , ("M-", "switch gpu", runOptimusPrompt) + , ("M-", "lock screen", runScreenLock) + -- M- reserved for showing the keymap + , ("M-", "restart xmonad", runCleanup hs client >> runRestart) + , ("M-", "recompile xmonad", runRecompile) + , ("M-", "toggle bluetooth", runToggleBluetooth) + , ("M-", "toggle screensaver", toggleDPMS) + , ("M-", "switch gpu", runOptimusPrompt) ]