From 3705924da887624b3547df284d8e3044b520cf38 Mon Sep 17 00:00:00 2001 From: sajenim Date: Mon, 29 Jan 2024 22:33:38 +0800 Subject: [PATCH] true fullsceen layout + maximized --- pkgs/xmonad-config/src/xmonad.hs | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/pkgs/xmonad-config/src/xmonad.hs b/pkgs/xmonad-config/src/xmonad.hs index c63a71a..8a0d95e 100644 --- a/pkgs/xmonad-config/src/xmonad.hs +++ b/pkgs/xmonad-config/src/xmonad.hs @@ -75,13 +75,14 @@ myKeys = ] -- | Layouts -myLayout = tiled ||| full +myLayout = tiled ||| max ||| full where -- Add a configurable amount of space around windows. gaps = spacingRaw False (Border 10 10 10 10) True (Border 10 10 10 10) True -- Our layouts tiled = renamed [Replace "Spacing Tiled"] . avoidStruts . gaps $ Tall nmaster delta ratio - full = renamed [Replace "Fullscreen"] $ noBorders Full + max = renamed [Replace "Maximized" ] . avoidStruts . gaps $ Full + full = renamed [Replace "Fullscreen" ] . noBorders $ Full -- Layout settings nmaster = 1 -- Default number of windows in the master pane ratio = 1/2 -- Default proportion of screen occupied by master pane