summaryrefslogtreecommitdiff
path: root/config.h
diff options
context:
space:
mode:
authorTri Asep Tumbara <57649797+triaseptmbr@users.noreply.github.com>2024-08-10 14:50:34 +0700
committerGitHub <noreply@github.com>2024-08-10 14:50:34 +0700
commitd8d2d1ae4cc90314c84543e5bbf30612dfff3125 (patch)
tree49e8ab660f75dcfbbe280c9274a48a023dfab0d2 /config.h
parent8282394bdc273a8b573fda7ea1e5a9e490978c6b (diff)
Remove root privilege when exec nmtui shortcut.
It doesn't need anymore, you can use it as a normal user.
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 } } },