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,16 +130,18 @@ myKeys conf = mkKeymap conf $
-- Quit xmonad
, ("M4-S-q", io exitSuccess)
-- Lock screen
, ("M4-l", spawn "i3lock -e -c 000000")
-- Change volume
, ("<XF86AudioMute>", spawn "amixer -qD pulse sset Master toggle")
--
, ("<XF86AudioRaiseVolume>", spawn "amixer -qD pulse sset Master 1%+")
--
, ("<XF86AudioLowerVolume>", spawn "amixer -qD pulse sset Master 1%-")
-- Keyboard apps
, ("<XF86Calculator>", spawn "gnome-calculator")
-- Restart xmonad
, ("M-q", spawn "xmonad --recompile; xmonad --restart")