aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMitchell Riedstra <mitch@riedstra.dev>2021-07-20 21:09:30 -0400
committerMitchell Riedstra <mitch@riedstra.dev>2021-07-20 21:09:30 -0400
commit846a9b844a82d44def5b34682a5596e4714c59d7 (patch)
treec2b9f5caee1099e608c301212fe9fd1bbb5c783b
parente945a861b1ac2c18401881c0165ae6b232b45299 (diff)
downloaddotfiles-846a9b844a82d44def5b34682a5596e4714c59d7.tar.gz
dotfiles-846a9b844a82d44def5b34682a5596e4714c59d7.tar.xz
Add simplified vol command
-rwxr-xr-xbin/vol9
1 files changed, 9 insertions, 0 deletions
diff --git a/bin/vol b/bin/vol
new file mode 100755
index 0000000..2ddc2d4
--- /dev/null
+++ b/bin/vol
@@ -0,0 +1,9 @@
+#!/bin/sh
+sink=1
+step=5
+# Default down
+mode=-
+case $1 in
+ up) mode=+
+esac
+pactl set-sink-volume "$sink" "$mode${step}%"