summaryrefslogtreecommitdiff
path: root/core/dwm/config.def.h
diff options
context:
space:
mode:
authorauric <104602845+ihateamongus@users.noreply.github.com>2025-09-11 10:47:54 -0500
committerGitHub <noreply@github.com>2025-09-11 10:47:54 -0500
commit9ece199b4aec527f511016f5f7c7b578b52eb912 (patch)
tree7ffb7e055305a03c0971855a5396dc242907aba0 /core/dwm/config.def.h
parent089761fb4a6216ba64acbe52c0b72d87a1d9e0ae (diff)
parent57b25f6e023ff36ed7329637d066c4b38953dbcc (diff)
Merge pull request #27 from ihateamongus/codex/create-universal-launcher-with-dmenu
Tweaks
Diffstat (limited to 'core/dwm/config.def.h')
-rw-r--r--core/dwm/config.def.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/core/dwm/config.def.h b/core/dwm/config.def.h
index c94f430..394937d 100644
--- a/core/dwm/config.def.h
+++ b/core/dwm/config.def.h
@@ -71,6 +71,8 @@ static const char *screenshotcmd[] = { "flameshot", "gui", NULL };
static const char *mediaplaypause[] = { "playerctl", "play-pause", NULL };
static const char *medianext[] = { "playerctl", "next", NULL };
static const char *mediaprev[] = { "playerctl", "previous", NULL };
+static const char *powermenucmd[] = { "/bin/sh", "-c", "power-menu.sh", NULL };
+static const char *steamcmd[] = { "/bin/sh", "-c", "steam-dmenu.sh", NULL };
static const Key keys[] = {
/* modifier key function argument */
@@ -79,6 +81,8 @@ static const Key keys[] = {
{ MODKEY, XK_F1, spawn, {.v = browsercmd } },
{ 0, XK_Print, spawn, {.v = screenshotcmd } },
{ MODKEY, XK_grave, togglescratch, {.v = scratchpadcmd } },
+ { MODKEY|ShiftMask, XK_p, spawn, {.v = powermenucmd } },
+ { MODKEY|ControlMask, XK_p, spawn, {.v = steamcmd } },
{ MODKEY, XK_b, togglebar, {0} },
{ MODKEY, XK_j, focusstack, {.i = +1 } },
{ MODKEY, XK_k, focusstack, {.i = -1 } },