diff options
Diffstat (limited to 'config.def.h')
| -rw-r--r-- | config.def.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/config.def.h b/config.def.h index c1bfc08..1c8318d 100644 --- a/config.def.h +++ b/config.def.h @@ -137,6 +137,7 @@ static const char *termcmd[] = { "st", NULL }; // default terminal; respe static const char *browsercmd[] = { "firefox", NULL }; // default browser; respects $BROWSER env variable static const char *editorcmd[] = { "emacs", NULL }; // default editor; respects $VISUAL env variable static const char *torbrowsercmd[] = { "tor-browser", NULL }; +static const char *exitcmd[] = { "dmenuexitmenu", NULL }; // script that provides exit options /* volume control */ static const char *upvol[] = { "pactl", "set-sink-volume", "0", "+5%", NULL }; @@ -195,8 +196,9 @@ static Key keys[] = { { 0, XF86XK_AudioMute, spawn, {.v = mutevol } }, { 0, XF86XK_AudioLowerVolume, spawn, {.v = downvol } }, { 0, XF86XK_AudioRaiseVolume, spawn, {.v = upvol } }, - { MODKEY|ShiftMask, XK_q, quit, {0} }, - { MODKEY|ShiftMask, XK_r, self_restart, {0} }, + { MODKEY|ShiftMask, XK_q, spawn, {.v = exitcmd } }, + { MODKEY|ShiftMask, XK_BackSpace, quit, {0} }, + { MODKEY|ShiftMask, XK_Escape, self_restart, {0} }, TAGKEYS( XK_1, 0) TAGKEYS( XK_2, 1) |
