Hide borders for single windows

master
Hektor Misplon 2022-09-24 16:17:14 +02:00
parent 09a84cae23
commit ba751e369f
1 changed files with 6 additions and 4 deletions

View File

@ -1,6 +1,7 @@
import XMonad import XMonad
import XMonad.Hooks.DynamicLog import XMonad.Hooks.DynamicLog
import XMonad.Hooks.ManageDocks import XMonad.Hooks.ManageDocks
import XMonad.Layout.NoBorders (smartBorders)
import XMonad.Layout.Magnifier import XMonad.Layout.Magnifier
import XMonad.Layout.Spacing import XMonad.Layout.Spacing
@ -33,10 +34,11 @@ import qualified Data.Map.Strict as M
import qualified XMonad.StackSet as W import qualified XMonad.StackSet as W
-- Magnifier is off by default (can be controlled using arrow keys) -- Magnifier is off by default (can be controlled using arrow keys)
myLayout = threeColMid ||| myLayout = smartBorders $
magnifiercz magnificationFactorH tiled ||| threeColMid |||
magnifiercz magnificationFactorV (Mirror tiled) ||| magnifiercz magnificationFactorH tiled |||
Full magnifiercz magnificationFactorV (Mirror tiled) |||
Full
where where
magnificationFactorV = 1.384 magnificationFactorV = 1.384
magnificationFactorH = 1.621 magnificationFactorH = 1.621