diff options
Diffstat (limited to 'scripts/volume')
| -rwxr-xr-x | scripts/volume | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/scripts/volume b/scripts/volume new file mode 100755 index 0000000..ba26561 --- /dev/null +++ b/scripts/volume @@ -0,0 +1,7 @@ +#!/bin/sh + +vol="$(pamixer --get-volume-human)" + +[ "$vol" == "muted" ] && label="🔇" || label="🔊 $vol" + +echo "$label" |
