aboutsummaryrefslogtreecommitdiff
path: root/dwm
diff options
context:
space:
mode:
authorCori Barker <coribarker2@gmail.com>2026-03-18 22:37:09 +0000
committerCori Barker <coribarker2@gmail.com>2026-03-18 22:37:09 +0000
commit6a442a9686282242fc099b4c769019d3623432f6 (patch)
tree7d6270cc574784e291fd533f63a7933603616e41 /dwm
parent64bef35f1ec1a88203bff4eae35a3d96ccd77c2f (diff)
Patched in play/pause button on keyboard
Diffstat (limited to 'dwm')
-rwxr-xr-xdwm/config.h2
-rwxr-xr-xdwm/dwmbin72928 -> 73000 bytes
-rw-r--r--dwm/dwm.obin58976 -> 59200 bytes
3 files changed, 2 insertions, 0 deletions
diff --git a/dwm/config.h b/dwm/config.h
index 39b91b5..5b9f1c1 100755
--- a/dwm/config.h
+++ b/dwm/config.h
@@ -66,6 +66,7 @@ static const char *xlockmodes[] = { "spiral", "space", "helix", "grav" };
static const char *lockcmd[] = { "xlock", "-mode", NULL, NULL };
static const char *brightnessupcmd[] = { "brightnessctl", "s", "+10%", NULL };
static const char *brightnessdowncmd[] = { "brightnessctl", "s", "10%-", NULL };
+static const char *playpausecmd[] = { "playerctl", "play-pause", NULL };
static const Key keys[] = {
/* modifier key function argument */
@@ -106,6 +107,7 @@ static const Key keys[] = {
{ MODKEY|ShiftMask, XK_q, quit, {0} },
{ 0, XF86XK_MonBrightnessUp, spawn, {.v = brightnessupcmd } },
{ 0, XF86XK_MonBrightnessDown, spawn, {.v = brightnessdowncmd } },
+ { 0, XF86XK_AudioPlay, spawn, {.v = playpausecmd } },
};
/* button definitions */
diff --git a/dwm/dwm b/dwm/dwm
index 07223ec..c4b4476 100755
--- a/dwm/dwm
+++ b/dwm/dwm
Binary files differ
diff --git a/dwm/dwm.o b/dwm/dwm.o
index 3095cf1..afa595d 100644
--- a/dwm/dwm.o
+++ b/dwm/dwm.o
Binary files differ