aboutsummaryrefslogtreecommitdiff
path: root/.local/bin/volume-control
diff options
context:
space:
mode:
Diffstat (limited to '.local/bin/volume-control')
-rwxr-xr-x.local/bin/volume-control4
1 files changed, 4 insertions, 0 deletions
diff --git a/.local/bin/volume-control b/.local/bin/volume-control
new file mode 100755
index 0000000..95454a3
--- /dev/null
+++ b/.local/bin/volume-control
@@ -0,0 +1,4 @@
+#!/bin/sh -eu
+[ "$1" = "up" ] && amixer set Master 1%+
+[ "$1" = "down" ] && amixer set Master 1%-
+[ "$1" = "mute" ] && amixer sset Master toggle