aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJosh Rahm <joshuarahm@gmail.com>2022-04-12 02:04:18 -0600
committerJosh Rahm <joshuarahm@gmail.com>2022-04-12 02:04:18 -0600
commitf8f7deeac800170a6201f74380bdfe720ee38027 (patch)
tree2925f04e33fb10aafcb297f4a673db78c578fcb3 /src
parent96643003bd14195f4868712789cd056e9d3581ae (diff)
downloadrde-f8f7deeac800170a6201f74380bdfe720ee38027.tar.gz
rde-f8f7deeac800170a6201f74380bdfe720ee38027.tar.bz2
rde-f8f7deeac800170a6201f74380bdfe720ee38027.zip
Make spacing specific to the current layout rather than all layouts. Not sure how I feel about it, but Imma try it out
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 906a7fc..fcf7d25 100644
--- a/src/Rahm/Desktop/Layout.hs
+++ b/src/Rahm/Desktop/Layout.hs
@@ -37,12 +37,13 @@ import Rahm.Desktop.Layout.Hole
import qualified Data.Map as M
import qualified XMonad.StackSet as W
-mods = reinterpretResize . poppable . flippable . rotateable . hole
+withSpacing = spacingRaw True (Border 5 5 5 5) True (Border 5 5 5 5) True
+mods =
+ withSpacing . reinterpretResize . poppable . flippable . rotateable . hole
myLayout =
fullscreenFull $
avoidStruts $
- spacingRaw True (Border 5 5 5 5) True (Border 5 5 5 5) True $
layoutZipper $
mods (reinterpretIncMaster $ spiral (6/7)) |:
mods (modifyMosaic (MosaicAlt M.empty :: MosaicAlt Window)) |: