update keybinds

This commit is contained in:
Arthur 2023-10-08 17:09:33 +03:00
parent 03e68b9f11
commit fe9a96ebf6

View file

@ -1,6 +1,6 @@
/* appearance */ /* appearance */
static const unsigned int borderpx = 2; static const unsigned int borderpx = 2;
static const unsigned int snap = 32; static const unsigned int snap = 0;
static const unsigned int gappih = 20; static const unsigned int gappih = 20;
static const unsigned int gappiv = 10; static const unsigned int gappiv = 10;
static const unsigned int gappoh = 10; static const unsigned int gappoh = 10;
@ -64,8 +64,8 @@ static const Layout layouts[] = {
#define MODKEY Mod4Mask #define MODKEY Mod4Mask
#define TAGKEYS(KEY,TAG) \ #define TAGKEYS(KEY,TAG) \
{ MODKEY, KEY, view, {.ui = 1 << TAG} }, \ { MODKEY, KEY, view, {.ui = 1 << TAG} }, \
{ MODKEY|ShiftMask, KEY, tagview, {.ui = 1 << TAG} }, \ { MODKEY|ControlMask, KEY, tagview, {.ui = 1 << TAG} }, \
{ MODKEY|ControlMask, KEY, tag, {.ui = 1 << TAG} }, \ { MODKEY|ShiftMask, KEY, tag, {.ui = 1 << TAG} }, \
{ MODKEY|Mod1Mask, KEY, toggletag, {.ui = 1 << TAG} }, \ { MODKEY|Mod1Mask, KEY, toggletag, {.ui = 1 << TAG} }, \
{ MODKEY|ControlMask|ShiftMask, KEY, toggleview, {.ui = 1 << TAG} }, \ { MODKEY|ControlMask|ShiftMask, KEY, toggleview, {.ui = 1 << TAG} }, \
@ -111,6 +111,7 @@ static const Key keys[] = {
{ MODKEY|ShiftMask, XK_s, spawn, SHCMD("flameshot", "gui") }, { MODKEY|ShiftMask, XK_s, spawn, SHCMD("flameshot", "gui") },
{ MODKEY, XK_i, spawn, SHCMD("dunstctl", "history-pop") }, { MODKEY, XK_i, spawn, SHCMD("dunstctl", "history-pop") },
{ MODKEY, XK_o, spawn, SHCMD("dunstctl", "close") }, { MODKEY, XK_o, spawn, SHCMD("dunstctl", "close") },
{ MODKEY, XK_x, spawn, SHCMD("discord") },
// tags // tags
TAGKEYS( XK_1, 0) TAGKEYS( XK_1, 0)