summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSuleyman Farajli <suleyman@farajli.net>2024-10-02 22:57:05 +0400
committerSuleyman Farajli <suleyman@farajli.net>2024-10-02 22:57:05 +0400
commit556e70eb6c3361041d05efec00343119844c767f (patch)
tree29d50b3b444d906531a8f6007207f58cbf4ab409
parent80f203cb24da54cd1e791ee31317d8273a4a39e0 (diff)
br script keybind added
-rw-r--r--config.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/config.h b/config.h
index 948fd75..e145340 100644
--- a/config.h
+++ b/config.h
@@ -66,18 +66,21 @@ static const char *termcmd[] = { "st", NULL };
static const char *browsercmd[] = { "qutebrowser", NULL };
+/* scripts */
static const char
*light_up[] = {"slight", "-i", "5", NULL},
*light_down[] = {"slight", "-d", "5", NULL},
*vol_up[] = {"svol", "-i", "5", NULL},
*vol_down[] = {"svol", "-d", "5", NULL},
*vol_toggle[] = {"svol", "-t", NULL},
- *wallpaper[] = {"swall", NULL};
+ *wallpaper[] = {"swall", NULL},
+ *br_prompt[] = {"br", NULL};
static const Key keys[] = {
/* modifier key function argument */
{ MODKEY, XK_p, spawn, {.v = dmenucmd } },
+ { MODKEY|ShiftMask, XK_p, spawn, {.v = br_prompt } },
{ MODKEY, XK_Return, spawn, {.v = termcmd } },
{ MODKEY|ShiftMask, XK_Return, spawn, {.v = browsercmd } },
{ MODKEY, XK_b, togglebar, {0} },