aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJosh Rahm <joshuarahm@gmail.com>2021-11-04 17:32:30 -0600
committerJosh Rahm <joshuarahm@gmail.com>2022-10-09 12:19:45 -0600
commitd688533631fc3498c33aae46cc6bdb26c2a6d09c (patch)
treefc2666ab021699ed5fa117bc38aabd3302e7a05c /src
parent60e95ba9c4115cb4d31bf3f408522c0d323160ba (diff)
downloadrde-d688533631fc3498c33aae46cc6bdb26c2a6d09c.tar.gz
rde-d688533631fc3498c33aae46cc6bdb26c2a6d09c.tar.bz2
rde-d688533631fc3498c33aae46cc6bdb26c2a6d09c.zip
Change keys to use mod+shift+/- to change the size for Mosaic.
Diffstat (limited to 'src')
-rw-r--r--src/Internal/Keys.hs8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/Internal/Keys.hs b/src/Internal/Keys.hs
index 09d0cc8..bc27750 100644
--- a/src/Internal/Keys.hs
+++ b/src/Internal/Keys.hs
@@ -95,8 +95,8 @@ newKeys markContext =
, ((modm .|. mod1Mask, xK_s), (void $ spawn "sudo systemctl suspend && xsecurelock"))
, ((modm .|. shiftMask, xK_c), kill)
, ((modm .|. shiftMask, xK_t), withFocused $ windows . W.sink)
- , ((modm, xK_comma), withFocused $ sendMessage . shrinkWindowAlt)
- , ((modm, xK_period), withFocused $ sendMessage . expandWindowAlt)
+ , ((modm .|. shiftMask, xK_plus), withFocused $ sendMessage . expandWindowAlt)
+ , ((modm .|. shiftMask, xK_minus), withFocused $ sendMessage . shrinkWindowAlt)
, ((mod4Mask, xK_BackSpace), (void $ spawn "xterm"))
, ((modm, xK_BackSpace), (void $ spawn "pkill -SIGUSR1 xmobar"))
, ((modm, xK_t), (void $ spawn (terminal config)))
@@ -130,8 +130,8 @@ newKeys markContext =
, ((modm, xK_minus), sendMessage (IncMasterN (-1)))
, ((modm, xK_plus), sendMessage (IncMasterN 1))
- , ((modm .|. shiftMask, xK_bracketleft), sendMessage (modifyWindowBorder (-1)))
- , ((modm .|. shiftMask, xK_bracketright), sendMessage (modifyWindowBorder 1))
+ , ((modm .|. shiftMask, xK_bracketleft), sendMessage (modifyWindowBorder (-5)))
+ , ((modm .|. shiftMask, xK_bracketright), sendMessage (modifyWindowBorder 5))
, ((modm, xK_bracketleft), sendMessage ShrinkZoom)
, ((modm, xK_bracketright), sendMessage ExpandZoom)