minor changes to xmonad, fixed breaking changes

This commit is contained in:
Solomon Laing 2021-03-26 22:43:34 +00:00
parent e92efb0f36
commit 12303a154f
2 changed files with 5 additions and 5 deletions

View File

@ -48,5 +48,5 @@ if [ "$HOST" == "archmetabox" ] ; then
fi fi
# start my trusty window manager # start my trusty window manager
exec xmonad # exec xmonad

View File

@ -228,7 +228,7 @@ myKeys conf@(XConfig {XMonad.modMask = modm}) = M.fromList $
-- --
[ [
-- prompt computer shutdown -- prompt computer shutdown
, ((modm .|. shiftMask, xK_s ), spawn "/home/solomon/.scripts/prompt \"Are you sure you want to Shutdown?\" \"shutdown now\"") ((modm .|. shiftMask, xK_s ), spawn "/home/solomon/.scripts/prompt \"Are you sure you want to Shutdown?\" \"shutdown now\"")
-- prompt computer reboot -- prompt computer reboot
, ((modm .|. shiftMask, xK_r ), spawn "/home/solomon/.scripts/prompt \"Are you sure you want to Restart?\" \"reboot\"") , ((modm .|. shiftMask, xK_r ), spawn "/home/solomon/.scripts/prompt \"Are you sure you want to Restart?\" \"reboot\"")
@ -240,7 +240,7 @@ myKeys conf@(XConfig {XMonad.modMask = modm}) = M.fromList $
, ((modm .|. shiftMask, xK_t ), spawn "/home/solomon/.scripts/bw-unlock") , ((modm .|. shiftMask, xK_t ), spawn "/home/solomon/.scripts/bw-unlock")
-- search for password using bitwarden cli through dmenu -- search for password using bitwarden cli through dmenu
, ((modm, xK_t ), spawn "/home/solomon/.scripts/passwords") , ((modm, xK_x ), spawn "/home/solomon/.scripts/passwords")
] ]
++ ++
@ -250,7 +250,7 @@ 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")
@ -280,7 +280,7 @@ 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")