From 476516d4b144e6bcd9211e0d23c829f34c0b7833 Mon Sep 17 00:00:00 2001 From: Nicholas Noll Date: Fri, 26 Jun 2020 19:40:25 +0200 Subject: feat: simplified volume command --- sys/cmd/dwm/config.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'sys/cmd/dwm/config.h') diff --git a/sys/cmd/dwm/config.h b/sys/cmd/dwm/config.h index 6875304..e0183b6 100644 --- a/sys/cmd/dwm/config.h +++ b/sys/cmd/dwm/config.h @@ -60,9 +60,9 @@ static Layout layouts[] = { static char *menucmd[] = { "menu_run", nil }; static char *termcmd[] = { "term", nil }; static char *webscmd[] = { "qutebrowser", nil }; -static char *upvolcmd[] = { "pactl", "set-sink-volume", "@DEFAULT_SINK@", "+5%", nil }; -static char *lovolcmd[] = { "pactl", "set-sink-volume", "@DEFAULT_SINK@", "-5%", nil }; -static char *novolcmd[] = { "pactl", "set-sink-mute", "@DEFAULT_SINK@", "toggle", nil }; +static char *upvolcmd[] = { "vol", "+5%", nil }; +static char *lovolcmd[] = { "vol", "-5%", nil }; +static char *novolcmd[] = { "vol", "mute", nil }; #define XK_lovol XF86XK_AudioLowerVolume #define XK_upvol XF86XK_AudioRaiseVolume -- cgit v1.2.1