shortcuts

This commit is contained in:
qvalentin 2021-09-30 12:34:23 +02:00
parent 949a7b7021
commit abb03630a8
1 changed files with 6 additions and 1 deletions

View File

@ -35,13 +35,18 @@ main = do
`additionalKeysP` [ ("M-S-z", spawn "xscreensaver-command -lock"), `additionalKeysP` [ ("M-S-z", spawn "xscreensaver-command -lock"),
("M-S-s", unGrab *> spawn "scrot -s"), ("M-S-s", unGrab *> spawn "scrot -s"),
("M-f", runOrRaise "brave" (className =? "Brave-browser")), ("M-f", runOrRaise "brave" (className =? "Brave-browser")),
("M-<Space>", spawn "rofi -show drun") ,
("M-p", spawn "dmen") ,
-- audio settings -- audio settings
("<XF86AudioLowerVolume>", spawn "amixer set Master 5%- unmute"), ("<XF86AudioLowerVolume>", spawn "amixer set Master 5%- unmute"),
("<XF86AudioRaiseVolume>", spawn "amixer set Master 5%+ unmute"), ("<XF86AudioRaiseVolume>", spawn "amixer set Master 5%+ unmute"),
("<XF86AudioMute>", spawn "amixer set Master toggle"), ("<XF86AudioMute>", spawn "amixer set Master toggle"),
-- window navigation -- window navigation
("M-l", sendMessage $ Go R), ("M-l", sendMessage $ Go R),
("M-h", sendMessage $ Go L) ("M-h", sendMessage $ Go L),
-- layout switching
("M-<Tab>", sendMessage NextLayout)
] ]
myXmobarPP :: [String] -> PP myXmobarPP :: [String] -> PP