Use fontawesome instead of emojis

This commit is contained in:
2021-05-03 15:18:41 +01:00
parent a09d00d7f7
commit 285bf62fce
23 changed files with 43 additions and 55 deletions

8
.local/bin/statusbar/sb-volume Normal file → Executable file
View File

@@ -7,7 +7,7 @@ case $BLOCK_BUTTON in
2) pamixer -t ;;
4) pamixer --allow-boost -i 1 ;;
5) pamixer --allow-boost -d 1 ;;
3) notify-send "📢 Volume module" "\- Shows volume 🔊, 🔇 if muted.
3) notify-send "📢 Volume module" "\- Shows volume , if muted.
- Middle click to mute.
- Scroll to change." ;;
6) "$TERMINAL" -e "$EDITOR" "$0" ;;
@@ -18,11 +18,11 @@ esac
vol="$(pamixer --get-volume)"
if [ "$vol" -gt "70" ]; then
icon="🔊"
icon=""
elif [ "$vol" -lt "30" ]; then
icon="🔈"
icon=""
else
icon="🔉"
icon=""
fi
echo "$icon$vol%"