5 lines
170 B
Bash
Executable file
5 lines
170 B
Bash
Executable file
#!/bin/bash
|
|
# Prints the current volume or 🔇 if muted.
|
|
[ $(pamixer --get-mute) = true ] && echo " vol: mut " && exit
|
|
vol="$(pamixer --get-volume)"
|
|
echo " vol: $vol% "
|