summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBen Sima <ben@bsima.me>2022-11-16 06:38:11 -0500
committerBen Sima <ben@bsima.me>2022-11-16 06:39:56 -0500
commit6bfb7ef9e6b590b3eeaa3bb0ea022251230f11a4 (patch)
treeaa362bcb08687ead38188586a894338bb341bb6a
parentc3a28e6c5882ea19b9de48e9544d0c606b2662ce (diff)
Finally figured out how to use RationalRect
Change-Id: I98e53e9984a98795fec01196bb51e41a2b9597dd
-rw-r--r--lib/xmonad.hs3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/xmonad.hs b/lib/xmonad.hs
index a2dd180..b3cdffd 100644
--- a/lib/xmonad.hs
+++ b/lib/xmonad.hs
@@ -87,7 +87,8 @@ shouldFloat = do
name <- appName
return (fs && not (shouldntFloat name))
-scratchHook = scratchpadManageHook (W.RationalRect 0.1 0.1 0.6 0.6)
+-- RationalRect is x y w h
+scratchHook = scratchpadManageHook (W.RationalRect 0.125 0.125 0.75 0.75)
myManageHook = manageDocks <+> scratchHook <+> (shouldFloat --> doFullFloat) <+> manageHook def