birdwm

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | README | LICENSE

commit cedcf69fbdef95fb1586ae6a97de921d01f21444
parent 5fbdc019b6d4e294cf87ca976f0224f1b484b87a
Author: bdmfegys@duck.com <bdmfegys@duck.com>
Date:   Sat, 27 Apr 2024 20:53:59 -0400

volume.sh: remove dunst forced compatibility, switch to notify-send

Diffstat:
Mextras/volume.sh | 6++++--
1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/extras/volume.sh b/extras/volume.sh @@ -23,7 +23,8 @@ function send_notification { # https://en.wikipedia.org/wiki/Box-drawing_character bar=$(seq -s "─" $(($volume / 2)) | sed 's/[0-9]//g') # Send the notification - dunstify -i $HOME/Pictures/sysicon/volume-up.png -t 8000 -r 2593 -u normal -h int:value:"$volume" "Volume: ${volume}%" + #dunstify -i $HOME/Pictures/sysicon/volume-up.png -t 8000 -r 2593 -u normal -h int:value:"$volume" "Volume: ${volume}%" + notify-send "volume: $volume%" } function send_notification1 { @@ -32,7 +33,8 @@ function send_notification1 { # https://en.wikipedia.org/wiki/Box-drawing_character bar=$(seq -s "─" $(($volume / 2)) | sed 's/[0-9]//g') # Send the notification - dunstify -i $HOME/Pictures/sysicon/volume-down.png -t 8000 -r 2593 -u normal -h int:value:"$volume" "Volume: ${volume}%" + #dunstify -i $HOME/Pictures/sysicon/volume-down.png -t 8000 -r 2593 -u normal -h int:value:"$volume" "Volume: ${volume}%" + notify-send "volume: $volume%" } case $1 in up)