diff options
| author | Josh Rahm <rahm@google.com> | 2023-12-13 18:18:50 -0700 |
|---|---|---|
| committer | Josh Rahm <rahm@google.com> | 2023-12-13 18:18:50 -0700 |
| commit | e57ec3a985a20a66354516d740ac5a48f8a59b40 (patch) | |
| tree | a7ca19b8b621bfc93cd94d617463c8bc9715f643 | |
| parent | a1e4abaa849be6df7377eac57ae2c3a159cd87ba (diff) | |
| download | rde-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
| -rw-r--r-- | src/Rahm/Desktop/Layout.hs | 5 |
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 $ |