summaryrefslogtreecommitdiff
path: root/config.h
diff options
context:
space:
mode:
Diffstat (limited to 'config.h')
-rwxr-xr-xconfig.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/config.h b/config.h
index 32ef02a..9f4fe20 100755
--- a/config.h
+++ b/config.h
@@ -73,9 +73,10 @@ static const char *dmenucmd[] = { "dmenu_run", NULL };
static const char *termcmd[] = { "st", NULL };
static const char *rsscmd[] = { "st", "newsboat", NULL };
static const char *browsercmd[] = { "brave", "--password-store=basic", NULL };
-static const char *discordcmd[] = { "com.discordapp.Discord", NULL };
+static const char *discordcmd[] = { "flatpak run com.discordapp.Discord", NULL };
static const char *screenshotcmd[] = { "flameshot", "gui", NULL };
static const char *mailcmd[] = { "thunderbird", NULL };
+static const char *shutdowncmd[] = { "shutdown", "-P", "0", NULL };
/* media keys */
static const char *upvol[] = { "/usr/bin/pactl", "set-sink-volume", "60", "+5%", NULL };
@@ -95,6 +96,7 @@ static const Key keys[] = {
{ MODKEY|ShiftMask, XK_d, spawn, {.v = discordcmd } },
{ MODKEY, XK_n, spawn, {.v = rsscmd } },
{ MODKEY, XK_e, spawn, {.v = mailcmd } },
+ { MODKEY|ShiftMask, XK_Delete, spawn, {.v = shutdowncmd } },
{ MODKEY, XK_b, togglebar, {0} },
{ MODKEY, XK_j, focusstack, {.i = +1 } },
{ MODKEY, XK_k, focusstack, {.i = -1 } },