From 7b72c6e4d03a3ec0833ab790ad62b62d9f2c7909 Mon Sep 17 00:00:00 2001 From: Sakooooo <78461130+Sakooooo@users.noreply.github.com> Date: Sat, 12 Aug 2023 17:38:51 +0300 Subject: [PATCH] there must of been an angel by my side --- config/xmonad/xmonad.hs | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/config/xmonad/xmonad.hs b/config/xmonad/xmonad.hs index ff705a63..89514d6e 100644 --- a/config/xmonad/xmonad.hs +++ b/config/xmonad/xmonad.hs @@ -16,6 +16,8 @@ import XMonad.Hooks.DynamicLog -- supposed to be for xmobar import XMonad.Hooks.EwmhDesktops import XMonad.Util.SpawnOnce -- for startup items import XMonad.Util.Run -- for xmobar startup +import XMonad.Layout.Spacing -- gaps +import XMonad.Layout.Fullscreen -- fullscreen import XMonad.Layout.NoBorders -- fullscreen import XMonad.Util.Hacks as Hacks -- tray import Graphics.X11.ExtraTypes.XF86 -- for keys @@ -196,7 +198,10 @@ 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 ||| noBorders Full +-- myLayout = tiled ||| Mirror tiled ||| noBorders Full +myLayout = smartSpacing 4 + $fullscreenFull + $avoidStruts(tiled ||| Full ||| Grid ||| spiral (6/7) ||| Mirror tiled) where -- default tiling algorithm partitions the screen into two panes tiled = Tall nmaster delta ratio