refac(prog/xmonad): add kb apps

This commit is contained in:
Dmitriy Pleshevskiy 2022-04-12 23:07:19 +03:00
parent f80d388d7b
commit dcc2f3d23a

View file

@ -130,15 +130,17 @@ myKeys conf = mkKeymap conf $
-- Quit xmonad -- Quit xmonad
, ("M4-S-q", io exitSuccess) , ("M4-S-q", io exitSuccess)
-- Lock screen -- Lock screen
, ("M4-l", spawn "i3lock -e -c 000000") , ("M4-l", spawn "i3lock -e -c 000000")
-- Change volume -- Change volume
, ("<XF86AudioMute>", spawn "amixer -qD pulse sset Master toggle") , ("<XF86AudioMute>", spawn "amixer -qD pulse sset Master toggle")
-- , ("<XF86AudioRaiseVolume>", spawn "amixer -qD pulse sset Master 1%+")
, ("<XF86AudioRaiseVolume>", spawn "amixer -qD pulse sset Master 1%+") , ("<XF86AudioLowerVolume>", spawn "amixer -qD pulse sset Master 1%-")
--
, ("<XF86AudioLowerVolume>", spawn "amixer -qD pulse sset Master 1%-") -- Keyboard apps
, ("<XF86Calculator>", spawn "gnome-calculator")
-- Restart xmonad -- Restart xmonad
, ("M-q", spawn "xmonad --recompile; xmonad --restart") , ("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" , "mod-period (mod-.) Deincrement the number of windows in the master area"
, "" , ""
, "-- System " , "-- System "
, "mod4-l Lock screen" , "mod4-l Lock screen"
, "mod4-Shift-q Quit xmonad" , "mod4-Shift-q Quit xmonad"
, "mod-q Restart xmonad" , "mod-q Restart xmonad"
, "" , ""
, "-- Workspaces & screens" , "-- Workspaces & screens"
, "mod-[1..9] Switch to workSpace N" , "mod-[1..9] Switch to workSpace N"