From dcc2f3d23ad01f1a7fdb860b67206aaa2b8a679a Mon Sep 17 00:00:00 2001 From: Dmitriy Pleshevskiy Date: Tue, 12 Apr 2022 23:07:19 +0300 Subject: [PATCH] refac(prog/xmonad): add kb apps --- programs/xmonad/xmonad.hs | 18 ++++++++++-------- 1 file changed, 10 insertions(+), 8 deletions(-) diff --git a/programs/xmonad/xmonad.hs b/programs/xmonad/xmonad.hs index 7279505..12cd8c9 100644 --- a/programs/xmonad/xmonad.hs +++ b/programs/xmonad/xmonad.hs @@ -130,15 +130,17 @@ myKeys conf = mkKeymap conf $ -- Quit xmonad , ("M4-S-q", io exitSuccess) + -- Lock screen , ("M4-l", spawn "i3lock -e -c 000000") -- Change volume - , ("", spawn "amixer -qD pulse sset Master toggle") - -- - , ("", spawn "amixer -qD pulse sset Master 1%+") - -- - , ("", spawn "amixer -qD pulse sset Master 1%-") + , ("", spawn "amixer -qD pulse sset Master toggle") + , ("", spawn "amixer -qD pulse sset Master 1%+") + , ("", spawn "amixer -qD pulse sset Master 1%-") + + -- Keyboard apps + , ("", spawn "gnome-calculator") -- Restart xmonad , ("M-q", spawn "xmonad --recompile; xmonad --restart") @@ -324,9 +326,9 @@ help = unlines , "mod-period (mod-.) Deincrement the number of windows in the master area" , "" , "-- System " - , "mod4-l Lock screen" - , "mod4-Shift-q Quit xmonad" - , "mod-q Restart xmonad" + , "mod4-l Lock screen" + , "mod4-Shift-q Quit xmonad" + , "mod-q Restart xmonad" , "" , "-- Workspaces & screens" , "mod-[1..9] Switch to workSpace N"