aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEduardo Pedroni <e.pedroni91@gmail.com>2018-11-19 21:58:46 +0100
committerEduardo Pedroni <e.pedroni91@gmail.com>2018-11-19 21:58:46 +0100
commit9e192b850afacc488f0a5976b5e3ae6aaa3b3e6e (patch)
tree013be178b469ed1771b0282703ec80fe3ae3a778
parent48d8353aa91f7c0e6b9b5f9c2083f176c4d29521 (diff)
Added volume bindings for pulseaudio
-rw-r--r--config-desktop.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/config-desktop.h b/config-desktop.h
index 59dea85..15cebe1 100644
--- a/config-desktop.h
+++ b/config-desktop.h
@@ -116,9 +116,9 @@ static const char *editorcmd[] = { "gedit", NULL };
static const char *scrotcmd[] = { "scrot", "/home/eddy/screenshots/%Y-%m-%d-%H:%M:%S.png", NULL };
static const char *lockcmd[] = { "i3lock", "-c", "000000", NULL };
-static const char *lowervolumecmd[] = { "amixer", "-q", "set", "Master", "2dB-", NULL };
-static const char *raisevolumecmd[] = { "amixer", "-q", "set", "Master", "2dB+", NULL };
-static const char *mutevolumecmd[] = { "amixer", "-q", "set", "Master", "toggle", NULL };
+static const char *lowervolumecmd[] = { "amixer", "-D", "pulse", "-q", "set", "Master", "3%-", NULL };
+static const char *raisevolumecmd[] = { "amixer", "-D", "pulse", "-q", "set", "Master", "3%+", NULL };
+static const char *mutevolumecmd[] = { "amixer", "-D", "pulse", "-q", "set", "Master", "toggle", NULL };
static Key keys[] = {
/* modifier key function argument */