summaryrefslogtreecommitdiff
path: root/config.h
diff options
context:
space:
mode:
authorMouad Alami <mouad@alami.xyz>2024-05-14 15:52:18 +0100
committerMouad Alami <mouad@alami.xyz>2024-05-14 15:52:18 +0100
commit34978144156716e3b27fb512b80ffdd985966d69 (patch)
treeb80bcde6ad25b610410a1a4dfe78fa99f9aa16ea /config.h
parent17c480441a4dc4c0c0312b9cd32799274f587238 (diff)
Added moveresize patch
Diffstat (limited to 'config.h')
-rw-r--r--config.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/config.h b/config.h
index 2878abb..0bb42cd 100644
--- a/config.h
+++ b/config.h
@@ -138,6 +138,15 @@ static const Key keys[] = {
{ControlMask, XK_space, spawn, SHCMD("dunstctl close")},
{ControlMask | ShiftMask, XK_space, spawn, SHCMD("dunstctl close-all")},
+ { Mod1Mask|ControlMask, XK_j, moveresize, {.v = "0x 25y 0w 0h" } },
+ { Mod1Mask|ControlMask, XK_k, moveresize, {.v = "0x -25y 0w 0h" } },
+ { Mod1Mask|ControlMask, XK_l, moveresize, {.v = "25x 0y 0w 0h" } },
+ { Mod1Mask|ControlMask, XK_h, moveresize, {.v = "-25x 0y 0w 0h" } },
+ { Mod1Mask|ShiftMask, XK_j, moveresize, {.v = "0x 0y 0w 25h" } },
+ { Mod1Mask|ShiftMask, XK_k, moveresize, {.v = "0x 0y 0w -25h" } },
+ { Mod1Mask|ShiftMask, XK_l, moveresize, {.v = "0x 0y 25w 0h" } },
+ { Mod1Mask|ShiftMask, XK_h, moveresize, {.v = "0x 0y -25w 0h" } },
+
{0, XF86XK_MonBrightnessUp, spawn, {.v = inc_bright}},
{0, XF86XK_MonBrightnessDown, spawn, {.v = dec_bright}},