Skip to content

Commit

Permalink
xmonad: Make fullscreen actually fullscreen
Browse files Browse the repository at this point in the history
  • Loading branch information
ifd3f committed Feb 24, 2024
1 parent 3786c80 commit 609cce9
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions nix/home-manager/astral/gui/xmonad/xmonad.hs
Original file line number Diff line number Diff line change
Expand Up @@ -50,9 +50,10 @@ main = do
xdisplays :: X [Rectangle]
xdisplays = withDisplay $ io . getScreenInfo

myLayoutHook = spacingWithEdge 10 $ avoidStruts $ layouts
myLayoutHook = (spacingWithEdge 10 $ avoidStruts standardLayouts) ||| fullscreenLayout
where
layouts = masterLeft ||| masterRight ||| masterTop ||| (smartBorders $ (fullscreenFloat . fullscreenFull) Full)
standardLayouts = masterLeft ||| masterRight ||| masterTop
fullscreenLayout = noBorders $ (fullscreenFloat . fullscreenFull) Full
masterLeft = Tall nmaster delta ratio
masterRight = reflectHoriz masterLeft
masterTop = Mirror masterLeft
Expand Down

0 comments on commit 609cce9

Please sign in to comment.