Xmonad added window swallowing

This commit is contained in:
Afonso Franco 2022-11-22 18:04:32 +00:00
parent a78e6db309
commit 2748950589
Signed by: afonso
GPG key ID: C459E0BB3DCEE899

View file

@ -32,7 +32,7 @@
import System.Exit import System.Exit
import XMonad.Util.SpawnOnce import XMonad.Util.SpawnOnce
import XMonad.Layout.Spacing import XMonad.Layout.Spacing
--import XMonad.Layout.Fullscreen import XMonad.Hooks.WindowSwallowing
import qualified XMonad.StackSet as W import qualified XMonad.StackSet as W
import qualified Data.Map as M import qualified Data.Map as M
\end{code} \end{code}
@ -322,7 +322,7 @@ Percent of screen to increment by when resizing panes
-- keys = myKeys, -- keys = myKeys,
layoutHook = spacingWithEdge 10 $ myLayout, layoutHook = spacingWithEdge 10 $ myLayout,
manageHook = manageSpawn <+> myManageHook <+> manageHook def, manageHook = manageSpawn <+> myManageHook <+> manageHook def,
handleEventHook = myEventHook <+> fullscreenEventHook, handleEventHook = myEventHook <+> fullscreenEventHook <+> swallowEventHook (className=?"Alacritty") (return True) ,
startupHook = myStartupHook} startupHook = myStartupHook}
\end{code} \end{code}