aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJosh Rahm <rahm@google.com>2023-12-13 18:18:50 -0700
committerJosh Rahm <rahm@google.com>2023-12-13 18:18:50 -0700
commite57ec3a985a20a66354516d740ac5a48f8a59b40 (patch)
treea7ca19b8b621bfc93cd94d617463c8bc9715f643 /src
parenta1e4abaa849be6df7377eac57ae2c3a159cd87ba (diff)
downloadrde-e57ec3a985a20a66354516d740ac5a48f8a59b40.tar.gz
rde-e57ec3a985a20a66354516d740ac5a48f8a59b40.tar.bz2
rde-e57ec3a985a20a66354516d740ac5a48f8a59b40.zip
Move the pinnable layout to outside the avoidStruts layout. This fixes the small bug where pinned windows would move down slightly on release when Xmobar is present
Diffstat (limited to 'src')
-rw-r--r--src/Rahm/Desktop/Layout.hs5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/Rahm/Desktop/Layout.hs b/src/Rahm/Desktop/Layout.hs
index 4dfba25..17a7b1e 100644
--- a/src/Rahm/Desktop/Layout.hs
+++ b/src/Rahm/Desktop/Layout.hs
@@ -42,13 +42,14 @@ import XMonad.Layout.Spiral (spiral)
myLayout =
fullscreenFull $
- hole $
+ hole $
+ pinnable $
avoidStruts myLayoutList
mySpacing = spacingRaw True (Border 5 5 5 5) True (Border 5 5 5 5) True
mods =
- pinnable . poppable . mySpacing . flippable . rotateable
+ poppable . mySpacing . flippable . rotateable
myLayoutList =
layoutList $