diff options
| author | pml68 <tutorialmester@gmail.com> | 2024-07-10 23:36:24 +0200 |
|---|---|---|
| committer | pml68 <tutorialmester@gmail.com> | 2024-07-10 23:36:24 +0200 |
| commit | 6e17eb44078095360152e49c0fbfcf23492f5623 (patch) | |
| tree | d05e68f69adb3c5ecf6166d66cd92ce77d2016e5 /dwm | |
| parent | feat: use diff file for laptop specific config files (diff) | |
| download | suckless-setup-6e17eb44078095360152e49c0fbfcf23492f5623.tar.gz | |
feat: add dmenu qalc patch
Diffstat (limited to '')
| -rw-r--r-- | dwm/config.def.h | 5 | ||||
| -rw-r--r-- | dwm/config.h | 5 |
2 files changed, 10 insertions, 0 deletions
diff --git a/dwm/config.def.h b/dwm/config.def.h index 31a82aa..abb5b51 100644 --- a/dwm/config.def.h +++ b/dwm/config.def.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 */ 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 */ |
