Volume notification shows the volume as a number and a bar.

This commit is contained in:
RealStickman 2020-10-10 15:00:11 +02:00
parent eb1a2591c8
commit 9a62e1ae0f

View File

@ -19,7 +19,7 @@ send_notification() {
# https://en.wikipedia.org/wiki/Box-drawing_character
bar=$(seq -s "─" $(($volume / 5)) | sed 's/[0-9]//g')
# Send the notification
dunstify -i audio-volume-high -r 2593 " $bar"
dunstify -i audio-volume-high -r 2593 "$volume $bar"
}
case $1 in