birdwm

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

commit d62b4a1a831730ce36665d6e2dc8d6cf35b8a6fd
parent 4c66e607421d0e5c3457f379ca4b47eb79a8c51d
Author: bdmfegys@duck.com <bdmfegys@duck.com>
Date:   Sun, 28 Apr 2024 14:21:41 -0400

volume.sh: return to dunst specific notifications for ease of use

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

diff --git a/extras/volume.sh b/extras/volume.sh @@ -23,8 +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}%" - notify-send "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 { @@ -33,8 +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}%" - notify-send "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)