minor changes to xmonad

This commit is contained in:
Solomon Laing 2021-03-26 22:36:23 +00:00
parent 3055ce0516
commit e92efb0f36

View File

@ -250,28 +250,28 @@ myKeys conf@(XConfig {XMonad.modMask = modm}) = M.fromList $
-- --
[ [
-- decrease volume with mod+f11 -- decrease volume with mod+f11
((modm, xK_F11), spawn "/home/solomon/.scripts/dec-sink-volume") , ((modm, xK_F11), spawn "/home/solomon/.scripts/dec-sink-volume")
-- increase volume with mod+f12 -- increase volume with mod+f12
,((modm, xK_F12), spawn "/home/solomon/.scripts/inc-sink-volume") , ((modm, xK_F12), spawn "/home/solomon/.scripts/inc-sink-volume")
-- toggle mute with mod+f10 -- toggle mute with mod+f10
,((modm, xK_F10), spawn "/home/solomon/.scripts/toggle-sink-mute") , ((modm, xK_F10), spawn "/home/solomon/.scripts/toggle-sink-mute")
-- decrease volume with mod+f11 -- decrease volume with mod+f11
,((modm .|. shiftMask, xK_F11), spawn "/home/solomon/.scripts/dec-source-volume") , ((modm .|. shiftMask, xK_F11), spawn "/home/solomon/.scripts/dec-source-volume")
-- increase volume with mod+f12 -- increase volume with mod+f12
,((modm .|. shiftMask, xK_F12), spawn "/home/solomon/.scripts/inc-source-volume") , ((modm .|. shiftMask, xK_F12), spawn "/home/solomon/.scripts/inc-source-volume")
-- toggle mute with mod+f10 -- toggle mute with mod+f10
,((modm .|. shiftMask, xK_F10), spawn "/home/solomon/.scripts/toggle-source-mute") , ((modm .|. shiftMask, xK_F10), spawn "/home/solomon/.scripts/toggle-source-mute")
-- set default sink for pactl to allow above scripts to run -- set default sink for pactl to allow above scripts to run
,((modm, xK_F7), spawn "/home/solomon/.scripts/set-default-sink") , ((modm, xK_F7), spawn "/home/solomon/.scripts/set-default-sink")
-- set default source for pactl -- set default source for pactl
,((modm .|. shiftMask, xK_F7), spawn "/home/solomon/.scripts/set-default-source") , ((modm .|. shiftMask, xK_F7), spawn "/home/solomon/.scripts/set-default-source")
] ]
++ ++
@ -280,10 +280,10 @@ myKeys conf@(XConfig {XMonad.modMask = modm}) = M.fromList $
-- --
[ [
-- increase backlight by 10 with mod+f9 -- increase backlight by 10 with mod+f9
((modm, xK_F9), spawn "backlight_control +5") , ((modm, xK_F9), spawn "backlight_control +5")
-- decrese backlight by 10 with mod+f8x -- decrese backlight by 10 with mod+f8x
,((modm, xK_F8), spawn "backlight_control -5") , ((modm, xK_F8), spawn "backlight_control -5")
] ]
++ ++