diff options
| author | ozpv <39195175+ozpv@users.noreply.github.com> | 2022-06-05 14:32:13 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-06-05 14:32:13 -0500 |
| commit | e68ba677432cf0ac70e91347f3dfa20f700c8fd7 (patch) | |
| tree | 4c1fb81cef4d1c2f8b74910a6f90ea87b24c386d /config.h | |
| parent | ab8c4738fe4bc6c2eb2f60e5df07ffcbeeb14e62 (diff) | |
add powermenu back
Diffstat (limited to 'config.h')
| -rw-r--r-- | config.h | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -60,7 +60,8 @@ static const Layout layouts[] = { /* commands */ static char dmenumon[2] = "0"; /* component of dmenucmd, manipulated in spawn() */ static const char *dmenucmd[] = { "dmenu_run", "-m", dmenumon, "-fn", dmenufont, "-nb", col_gray1, "-nf", col_gray3, "-sb", col_cyan, "-sf", col_gray4, NULL }; -static const char *dmenunmcmd[] = { "networkmanager_dmenu", NULL }; +static const char *dmenunmcmd[] = { "sudo", "networkmanager_dmenu", NULL }; +static const char *dmenupmcmd[] = { "sudo", "powermenu", NULL }; static const char *termcmd[] = { "st", NULL }; static const char *browsercmd[] = { "firefox", NULL }; static const char *volup[] = { "pactl", "set-sink-volume", "1", "+10%", NULL }; @@ -103,6 +104,7 @@ static Key keys[] = { TAGKEYS( XK_8, 7) TAGKEYS( XK_9, 8) + { MODKEY, XK_q, spawn, {.v = dmenupmcmd} }, { MODKEY|ShiftMask, XK_q, quit, {0} }, }; |
