From 34978144156716e3b27fb512b80ffdd985966d69 Mon Sep 17 00:00:00 2001 From: Mouad Alami Date: Tue, 14 May 2024 15:52:18 +0100 Subject: Added moveresize patch --- config.h | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'config.h') 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}}, -- cgit v1.2.3