~bt/dwm

f0d2aff215e22582e964807625b108309ab12136 — Bradley Taunt 5 months ago c25ce8d
Include proper heading for input audio button support and move away from pulseaudio
4 files changed, 12 insertions(+), 6 deletions(-)

M config.def.h
M config.h
M dwm
M dwm.o
M config.def.h => config.def.h +6 -3
@@ 1,5 1,8 @@
/* See LICENSE file for copyright and license details. */

/* includes */
#include <X11/XF86keysym.h>

/* appearance */
static const unsigned int borderpx  = 1;        /* border pixel of windows */
static const unsigned int snap      = 32;       /* snap pixel */


@@ 68,9 71,9 @@ static const char *webcmd[]  = { "qutebrowser", NULL };
static const char *lockcmd[] = { "slock", NULL };
static const char *brupcmd[] = { "doas", "light", "-A", "10", NULL };
static const char *brdowncmd[] = { "doas", "light", "-U", "10", NULL };
static const char *upvol[]   = { "/usr/bin/pactl", "set-sink-volume", "0", "+5%",     NULL };
static const char *downvol[] = { "/usr/bin/pactl", "set-sink-volume", "0", "-5%",     NULL };
static const char *mutevol[] = { "/usr/bin/pactl", "set-sink-mute",   "0", "toggle",  NULL };
static const char *upvol[]   = { "amixer", "-q", "set", "Master", "5%+", "unmute", NULL };
static const char *downvol[] = { "amixer", "-q", "set", "Master", "5%-", "unmute", NULL };
static const char *mutevol[] = { "amixer", "-q", "set", "Master", "toggle", NULL };


static const Key keys[] = {

M config.h => config.h +6 -3
@@ 1,5 1,8 @@
/* See LICENSE file for copyright and license details. */

/* includes */
#include <X11/XF86keysym.h>

/* appearance */
static const unsigned int borderpx  = 1;        /* border pixel of windows */
static const unsigned int snap      = 32;       /* snap pixel */


@@ 68,9 71,9 @@ static const char *webcmd[]  = { "qutebrowser", NULL };
static const char *lockcmd[] = { "slock", NULL };
static const char *brupcmd[] = { "doas", "light", "-A", "10", NULL };
static const char *brdowncmd[] = { "doas", "light", "-U", "10", NULL };
static const char *upvol[]   = { "/usr/bin/pactl", "set-sink-volume", "0", "+5%",     NULL };
static const char *downvol[] = { "/usr/bin/pactl", "set-sink-volume", "0", "-5%",     NULL };
static const char *mutevol[] = { "/usr/bin/pactl", "set-sink-mute",   "0", "toggle",  NULL };
static const char *upvol[]   = { "amixer", "-q", "set", "Master", "5%+", "unmute", NULL };
static const char *downvol[] = { "amixer", "-q", "set", "Master", "5%-", "unmute", NULL };
static const char *mutevol[] = { "amixer", "-q", "set", "Master", "toggle", NULL };


static const Key keys[] = {

M dwm => dwm +0 -0
M dwm.o => dwm.o +0 -0