diff options
| author | Thomas Ulmer <thomasmulmer02@gmail.com> | 2025-10-23 10:14:25 -0700 |
|---|---|---|
| committer | Thomas Ulmer <thomasmulmer02@gmail.com> | 2025-10-23 10:14:25 -0700 |
| commit | c693ea41e373101d09ee20759dbfe2bb5f0ffc40 (patch) | |
| tree | 6c33c7e79530747c8c3adad8de476e5b57cd2f4c /xmonad | |
| parent | 9f7fcf9bc36592b1a6ecbbcdac59e790b42bf832 (diff) | |
xmonad do fullscreen
Diffstat (limited to 'xmonad')
| -rw-r--r-- | xmonad/xmonad.hs | 7 |
1 files changed, 4 insertions, 3 deletions
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, |
