about summary refs log tree commit diff
path: root/dotfiles/xmonad.hs
diff options
context:
space:
mode:
authorBaitinq <manuelpalenzuelamerino@gmail.com>2022-07-07 03:17:57 +0200
committerBaitinq <manuelpalenzuelamerino@gmail.com>2022-07-07 03:17:57 +0200
commitcd7449197995ec11f4ace8f52c8061839a84c723 (patch)
tree24a1ab4b022ee58db18a374458a1b940c3123318 /dotfiles/xmonad.hs
parentfmt (diff)
downloadnixos-config-cd7449197995ec11f4ace8f52c8061839a84c723.tar.gz
nixos-config-cd7449197995ec11f4ace8f52c8061839a84c723.tar.bz2
nixos-config-cd7449197995ec11f4ace8f52c8061839a84c723.zip
XMonad: Fix firefox self-fullscreen having a border
Diffstat (limited to '')
-rw-r--r--dotfiles/xmonad.hs4
1 files changed, 3 insertions, 1 deletions
diff --git a/dotfiles/xmonad.hs b/dotfiles/xmonad.hs
index b4a828c..cd63b63 100644
--- a/dotfiles/xmonad.hs
+++ b/dotfiles/xmonad.hs
@@ -21,6 +21,7 @@ import XMonad.Layout.MultiToggle
 import XMonad.Layout.MultiToggle.Instances
 
 import XMonad.Actions.CycleWS
+import XMonad.Actions.NoBorders
 
 import XMonad.Util.ClickableWorkspaces
 
@@ -83,7 +84,8 @@ tiledLayout = tiled
 
 layouts      =  tiledLayout
 
-myLayout    = mkToggle (NOBORDERS ?? NBFULL ?? EOT)
+myLayout    = lessBorders OnlyFloat
+              $ mkToggle (NOBORDERS ?? NBFULL ?? EOT)
               $ avoidStruts $ myGaps $ addSpace
               $ layouts