From 894529077ae4b401abde3ae52e3bd31dcbeaf2dd Mon Sep 17 00:00:00 2001 From: Charles Cabergs Date: Thu, 29 Dec 2022 05:00:11 +0100 Subject: Updated awesome config to look and feel like current xmonad config --- config/xmonad/xmonad.hs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'config/xmonad/xmonad.hs') 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' = [ ("", 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) -- cgit