From e92efb0f360c1d49b40b01d53bd5b2f7e3d5003b Mon Sep 17 00:00:00 2001 From: Solomon Laing Date: Fri, 26 Mar 2021 22:36:23 +0000 Subject: [PATCH] minor changes to xmonad --- .xmonad/xmonad.hs | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/.xmonad/xmonad.hs b/.xmonad/xmonad.hs index 25af41d..3b10373 100644 --- a/.xmonad/xmonad.hs +++ b/.xmonad/xmonad.hs @@ -250,28 +250,28 @@ myKeys conf@(XConfig {XMonad.modMask = modm}) = M.fromList $ -- [ -- 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 - ,((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 - ,((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 - ,((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 - ,((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 - ,((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 - ,((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 - ,((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 - ((modm, xK_F9), spawn "backlight_control +5") + , ((modm, xK_F9), spawn "backlight_control +5") -- decrese backlight by 10 with mod+f8x - ,((modm, xK_F8), spawn "backlight_control -5") + , ((modm, xK_F8), spawn "backlight_control -5") ] ++