summaryrefslogtreecommitdiffstats
path: root/volume
diff options
context:
space:
mode:
Diffstat (limited to 'volume')
-rwxr-xr-xvolume3
1 files changed, 3 insertions, 0 deletions
diff --git a/volume b/volume
new file mode 100755
index 0000000..e5a76fe
--- /dev/null
+++ b/volume
@@ -0,0 +1,3 @@
+#!/bin/sh
+[ $(pamixer --get-mute) = true ] && echo "\004MUTE\001" && exit 1
+echo " $(pamixer --get-volume)%"