summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNPScript <nathan@reinerweb.ch>2022-06-03 16:38:43 +0200
committerNPScript <nathan@reinerweb.ch>2022-06-03 16:38:43 +0200
commit001e3235f8c8c794b1560dbcaae48cf655ea81e9 (patch)
tree7a0d563616a59819e067031c3cdfd1fbce1cfdf0
parenteb8e7e09c59d636908170d866bf5bd8418dedb48 (diff)
add powerdialog
-rw-r--r--config.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/config.h b/config.h
index a0fa898..5f74abf 100644
--- a/config.h
+++ b/config.h
@@ -64,6 +64,7 @@ static const char *passcmd[] = { "passmenu", "--type", NULL };
static const char *mailcmd[] = { "st", "neomutt", NULL };
static const char *musiccmd[] = { "st", "cmus", NULL };
static const char *lockcmd[] = { "slock", NULL };
+static const char *sessioncmd[] = { "powerdialog", NULL };
static Key keys[] = {
/* modifier key function argument */
@@ -74,6 +75,7 @@ static Key keys[] = {
{ MODKEY|ShiftMask, XK_e, spawn, {.v = mailcmd } },
{ MODKEY|ShiftMask, XK_m, spawn, {.v = musiccmd } },
{ MODKEY|ShiftMask, XK_l, spawn, {.v = lockcmd } },
+ { MODKEY, XK_q, spawn, {.v = sessioncmd } },
{ MODKEY, XK_b, togglebar, {0} },
{ MODKEY, XK_j, focusstack, {.i = +1 } },
{ MODKEY, XK_k, focusstack, {.i = -1 } },