summaryrefslogtreecommitdiff
path: root/config.h
diff options
context:
space:
mode:
authorLuke Smith <luke@lukesmith.xyz>2025-03-05 15:02:00 +0000
committerGitHub <noreply@github.com>2025-03-05 15:02:00 +0000
commitf570a251a00b286ac0aa11b8d4a1008edd172bd9 (patch)
tree49e8ab660f75dcfbbe280c9274a48a023dfab0d2 /config.h
parent8282394bdc273a8b573fda7ea1e5a9e490978c6b (diff)
parentd8d2d1ae4cc90314c84543e5bbf30612dfff3125 (diff)
Merge pull request #246 from triaseptmbr/patch-1HEADmaster
Remove root privilege when exec nmtui shortcut.
Diffstat (limited to 'config.h')
-rw-r--r--config.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/config.h b/config.h
index 579dc61..43f7754 100644
--- a/config.h
+++ b/config.h
@@ -164,7 +164,7 @@ static const Key keys[] = {
{ MODKEY, XK_q, killclient, {0} },
{ MODKEY|ShiftMask, XK_q, spawn, {.v = (const char*[]){ "sysact", NULL } } },
{ MODKEY, XK_w, spawn, {.v = (const char*[]){ BROWSER, NULL } } },
- { MODKEY|ShiftMask, XK_w, spawn, {.v = (const char*[]){ TERMINAL, "-e", "sudo", "nmtui", NULL } } },
+ { MODKEY|ShiftMask, XK_w, spawn, {.v = (const char*[]){ TERMINAL, "-e", "nmtui", NULL } } },
{ MODKEY, XK_e, spawn, SHCMD(TERMINAL " -e neomutt ; pkill -RTMIN+12 dwmblocks; rmdir ~/.abook 2>/dev/null") },
{ MODKEY|ShiftMask, XK_e, spawn, SHCMD(TERMINAL " -e abook -C ~/.config/abook/abookrc --datafile ~/.config/abook/addressbook") },
{ MODKEY, XK_r, spawn, {.v = (const char*[]){ TERMINAL, "-e", "lfub", NULL } } },