aboutsummaryrefslogtreecommitdiff
path: root/config/xmonad
diff options
context:
space:
mode:
authorCharles Cabergs <me@cacharle.xyz>2022-12-29 05:00:11 +0100
committerCharles Cabergs <me@cacharle.xyz>2022-12-29 05:00:11 +0100
commit894529077ae4b401abde3ae52e3bd31dcbeaf2dd (patch)
tree09348dc6a7d5fbdac20293f2e4dad1244c29131c /config/xmonad
parent94379cfaa8e26d908122754ae61a133379993fca (diff)
downloaddotfiles-894529077ae4b401abde3ae52e3bd31dcbeaf2dd.tar.gz
dotfiles-894529077ae4b401abde3ae52e3bd31dcbeaf2dd.tar.bz2
dotfiles-894529077ae4b401abde3ae52e3bd31dcbeaf2dd.zip
Updated awesome config to look and feel like current xmonad config
Diffstat (limited to 'config/xmonad')
-rw-r--r--config/xmonad/xmonad.hs6
1 files changed, 3 insertions, 3 deletions
diff --git a/config/xmonad/xmonad.hs b/config/xmonad/xmonad.hs
index fac4ef3..9337c46 100644
--- a/config/xmonad/xmonad.hs
+++ b/config/xmonad/xmonad.hs
@@ -38,7 +38,7 @@ main = xmonad $ desktopConfig
, borderWidth = 2
, focusFollowsMouse = False -- don't change window based on mouse position (need to click)
, workspaces = ["code", "web"] ++ map show [3..9]
- , handleEventHook = handleEventHook'
+ -- , handleEventHook = handleEventHook'
-- , startupHook = startupHook'
} `additionalKeysP` keys'
@@ -78,7 +78,7 @@ keys' = [ ("<XF86AudioLowerVolume>", spawn "pulseaudio-ctl down")
"--hint=int:value:\"$(cat /sys/class/power_supply/BAT0/capacity)\" " ++
"\"Battery: $(cat /sys/class/power_supply/BAT0/status)\"")
, ("M-q", spawn "notify-send 'Restarting xmonad'" >> spawn restartCmd)
- , ("M-S-q", confirm "Are you sure you want to shutdown?" $ io (exitWith ExitSuccess))
+ , ("M-S-q", confirm "Are you sure you want to shutdown?" $ io exitSuccess)
]
-- startupHook' :: X ()
@@ -98,4 +98,4 @@ restartCmd = intercalate "; " [ "if type xmonad"
, "fi"
]
-handleEventHook' = swallowEventHook (className =? "Alacritty" <||> className =? "Termite") (return True)
+-- handleEventHook' = swallowEventHook (className =? "Alacritty" <||> className =? "Termite") (return True)