aboutsummaryrefslogtreecommitdiff
path: root/gui
diff options
context:
space:
mode:
authorAdrian Kummerlaender2018-07-28 19:32:34 +0200
committerAdrian Kummerlaender2018-07-28 19:32:34 +0200
commit7e90ebbdccfb031a8c9736a0d2e9949be48fcdc6 (patch)
tree01a09c98f0da0fc72f0a623fb072846b8baa1307 /gui
parentca7b9d75f96c219900481f8cfb4555a686252736 (diff)
downloadnixos_home-7e90ebbdccfb031a8c9736a0d2e9949be48fcdc6.tar
nixos_home-7e90ebbdccfb031a8c9736a0d2e9949be48fcdc6.tar.gz
nixos_home-7e90ebbdccfb031a8c9736a0d2e9949be48fcdc6.tar.bz2
nixos_home-7e90ebbdccfb031a8c9736a0d2e9949be48fcdc6.tar.lz
nixos_home-7e90ebbdccfb031a8c9736a0d2e9949be48fcdc6.tar.xz
nixos_home-7e90ebbdccfb031a8c9736a0d2e9949be48fcdc6.tar.zst
nixos_home-7e90ebbdccfb031a8c9736a0d2e9949be48fcdc6.zip
Set more sensible layout reflection toggles
Diffstat (limited to 'gui')
-rw-r--r--gui/conf/xmonad.hs11
1 files changed, 7 insertions, 4 deletions
diff --git a/gui/conf/xmonad.hs b/gui/conf/xmonad.hs
index eeafa62..43a58fb 100644
--- a/gui/conf/xmonad.hs
+++ b/gui/conf/xmonad.hs
@@ -56,10 +56,13 @@ availableLayouts = id
tabs = name "tabs" $ tabbed shrinkText customTabTheme
tiles = name "tiles" $ id
. mkToggle (single REFLECTX)
- . mkToggle (single MIRROR)
+ . mkToggle (single REFLECTY)
$ multiCol [1, 2, 0] 1 delta (1/3)
two = name "two" $ TwoPane delta (1/2)
- frame = name "frame" $ OneBig (2/3) (4/5)
+ frame = name "frame" $ id
+ . mkToggle (single REFLECTX)
+ . mkToggle (single REFLECTY)
+ $ OneBig (2/3) (4/5)
delta = 1/24
name n = renamed [Replace n]
@@ -145,8 +148,8 @@ commonKeybindings host =
, ("M-s l" , sendMessage NextLayout)
, ("M-s +" , sendMessage $ IncMasterN 1)
, ("M-s -" , sendMessage $ IncMasterN (-1))
- , ("M-s m" , sendMessage $ Toggle REFLECTX)
- , ("M-s r" , sendMessage $ Toggle MIRROR)
+ , ("M-s y" , sendMessage $ Toggle REFLECTY)
+ , ("M-s x" , sendMessage $ Toggle REFLECTX)
, ("M-s f" , sendMessage $ Toggle NBFULL)
-- floating placement
, ("M-w t" , withFocused $ windows . S.sink)