diff options
author | Brandon <brandon@btkoch.xyz> | 2023-12-19 11:07:40 -0500 |
---|---|---|
committer | Brandon <brandon@btkoch.xyz> | 2023-12-19 11:07:40 -0500 |
commit | b40b8bec316624e93ce2aa21e42fcd0d63b18c11 (patch) | |
tree | fbfa5aee7eeb0bacbf8b076eda6e26ef6a251c3d /config.h | |
parent | 0475ad28d9398fdfeec0c0719acf3ee8e1e98cbe (diff) |
add shutdown and lock function
Diffstat (limited to 'config.h')
-rwxr-xr-x | config.h | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -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 } }, |