From c693ea41e373101d09ee20759dbfe2bb5f0ffc40 Mon Sep 17 00:00:00 2001 From: Thomas Ulmer Date: Thu, 23 Oct 2025 10:14:25 -0700 Subject: xmonad do fullscreen --- xmonad/xmonad.hs | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'xmonad') diff --git a/xmonad/xmonad.hs b/xmonad/xmonad.hs index 2c0a5e8..54f0e12 100644 --- a/xmonad/xmonad.hs +++ b/xmonad/xmonad.hs @@ -22,6 +22,7 @@ import Graphics.X11.ExtraTypes.XF86 (xF86XK_AudioMute, import XMonad.Hooks.StatusBar import XMonad.Hooks.StatusBar.PP +import XMonad.Hooks.EwmhDesktops import XMonad.Actions.WindowBringer -- The preferred terminal program, which is used in a binding below and by @@ -201,7 +202,7 @@ myMouseBindings (XConfig {XMonad.modMask = modm}) = M.fromList -- The available layouts. Note that each layout is separated by |||, -- which denotes layout choice. -- -myLayout = tiled ||| Mirror tiled ||| Full +myLayout = tiled ||| Full where -- default tiling algorithm partitions the screen into two panes tiled = Tall nmaster delta ratio @@ -246,7 +247,7 @@ myManageHook = composeAll -- return (All True) if the default handler is to be run afterwards. To -- combine event hooks use mappend or mconcat from Data.Monoid. -- -myEventHook = mempty +myEventHook = handleEventHook def <+> fullscreenEventHook ------------------------------------------------------------------------ -- Status bars and logging @@ -283,7 +284,7 @@ main = xmonad $ withEasySB mySB defToggleStrutsKey defaults -- -- No need to modify this. -- -defaults = def { +defaults = ewmh def { -- simple stuff terminal = myTerminal, focusFollowsMouse = myFocusFollowsMouse, -- cgit v1.2.3