aboutsummaryrefslogtreecommitdiff
path: root/dwm/config.h
diff options
context:
space:
mode:
authorpml68 <tutorialmester@gmail.com>2024-07-10 23:36:24 +0200
committerpml68 <tutorialmester@gmail.com>2024-07-10 23:36:24 +0200
commit6e17eb44078095360152e49c0fbfcf23492f5623 (patch)
treed05e68f69adb3c5ecf6166d66cd92ce77d2016e5 /dwm/config.h
parentfeat: use diff file for laptop specific config files (diff)
downloadsuckless-setup-6e17eb44078095360152e49c0fbfcf23492f5623.tar.gz
feat: add dmenu qalc patch
Diffstat (limited to '')
-rw-r--r--dwm/config.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/dwm/config.h b/dwm/config.h
index 31a82aa..abb5b51 100644
--- a/dwm/config.h
+++ b/dwm/config.h
@@ -88,6 +88,10 @@ static const char *nextcmd[] = {"adb", "shell", "input",
"keyevent", "87", NULL};
static const char *previouscmd[] = {"adb", "shell", "input",
"keyevent", "88", NULL};
+static const char *qalccmd[] = {
+ "dmenu_run", "-m", dmenumon, "-fn", dmenufont, "-nb",
+ col_gray1, "-nf", col_gray3, "-sb", col_cyan, "-sf",
+ col_gray4, "-C", "-l", "1", NULL};
static const Key keys[] = {
/* modifier key function argument */
@@ -126,6 +130,7 @@ static const Key keys[] = {
{MODKEY | ShiftMask, XK_n, spawn, {.v = nextcmd}},
{MODKEY | ShiftMask, XK_p, spawn, {.v = previouscmd}},
{MODKEY, XK_s, spawn, {.v = adbscreencmd}},
+ {MODKEY, XK_c, spawn, {.v = qalccmd}},
};
/* button definitions */