refac(prog/xmonad): add kb apps
This commit is contained in:
parent
f80d388d7b
commit
dcc2f3d23a
1 changed files with 10 additions and 8 deletions
|
@ -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")
|
||||
|
||||
|
|
Loading…
Reference in a new issue