Root commit.
This commit is contained in:
commit
7183fd6b99
21 changed files with 974 additions and 0 deletions
19
sb-volume
Executable file
19
sb-volume
Executable file
|
@ -0,0 +1,19 @@
|
|||
#!/bin/sh
|
||||
|
||||
# Prints the current volume or 🔇 if muted.
|
||||
|
||||
. sb-theme
|
||||
|
||||
[ $(pamixer --get-mute) = true ] && echo ﱝ && exit
|
||||
|
||||
vol="$(pamixer --get-volume)"
|
||||
|
||||
if [ "$vol" -gt "65" ]; then
|
||||
icon=""
|
||||
elif [ "$vol" -lt "30" ]; then
|
||||
icon=""
|
||||
else
|
||||
icon=""
|
||||
fi
|
||||
|
||||
display "$icon $vol%" "$1" "$vol"
|
Loading…
Add table
Add a link
Reference in a new issue