commit a9c35d3835b29646cc598e5addd642a89b55c633
parent 2ae48b805b2b6ac60874373205b761bb2e55402b
Author: Ethan Long <ethan@OpenBSD-X220.lan>
Date: Fri, 10 Jan 2025 22:48:00 +1100
We actually don't need to bind the volume keys on OpenBSD
This is done automatically by OpenBSD's ACPI settings :D
Diffstat:
1 file changed, 0 insertions(+), 6 deletions(-)
diff --git a/config.h.OBSD b/config.h.OBSD
@@ -84,9 +84,6 @@ static const Layout layouts[] = {
static char dmenumon[2] = "0"; /* component of dmenucmd, manipulated in spawn() */
static const char *dmenucmd[] = { "dmenu_run", "-m", dmenumon, "-fn", dmenufont, "-nb", col_base, "-nf", col_lavender, "-sb", col_lavender, "-sf", col_base, NULL };
static const char *termcmd[] = { "st", NULL };
-static const char *volumedowncmd[] = { "sndioctl", "output.level=-0.05", NULL};
-static const char *volumeupcmd[] = { "sndioctl", "output.level=+0.05", NULL};
-static const char *volumemutecmd[] = { "sndioctl", "output.mute=!", NULL};
static const Key keys[] = {
/* modifier key function argument */
@@ -139,9 +136,6 @@ static const Key keys[] = {
TAGKEYS( XK_8, 7)
TAGKEYS( XK_9, 8)
{ MODKEY|ShiftMask, XK_c, quit, {0} },
- { 0, XF86XK_AudioLowerVolume, spawn, {.v = volumedowncmd} },
- { 0, XF86XK_AudioRaiseVolume, spawn, {.v = volumeupcmd} },
- { 0, XF86XK_AudioMute, spawn, {.v = volumemutecmd} },
};
/* button definitions */