diff options
author | Justine Smithies <justine@smithies.me.uk> | 2024-08-03 11:02:04 +0100 |
---|---|---|
committer | Justine Smithies <justine@smithies.me.uk> | 2024-08-03 11:02:04 +0100 |
commit | 8688fe4817b726d6ffa1927ba38718bb9f02dce1 (patch) | |
tree | 3f752cab9bcb189fb70edcf4d2d3bf196ffff790 /.config/eww/scripts/volumecontrol | |
parent | cf6d409c41a4f7fd234afb76c625bd6b9eb0abc6 (diff) |
Using fyi notification client now
Diffstat (limited to '.config/eww/scripts/volumecontrol')
-rwxr-xr-x | .config/eww/scripts/volumecontrol | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/.config/eww/scripts/volumecontrol b/.config/eww/scripts/volumecontrol index ff25c21..45db7fd 100755 --- a/.config/eww/scripts/volumecontrol +++ b/.config/eww/scripts/volumecontrol @@ -48,7 +48,7 @@ function send_notification { fi bar=$(seq -s "─" $(($volume/5)) | sed 's/[0-9]//g') # Send the notification -notify-send --hint=string:x-canonical-private-synchronous:volumecontrol -u normal "$icon $bar $volume" +fyi --hint=string:x-canonical-private-synchronous:volumecontrol -u normal "$icon $bar $volume" } case $1 in @@ -76,7 +76,7 @@ case $1 in pactl set-sink-mute @DEFAULT_SINK@ toggle if is_mute ; then icon="" - notify-send --hint=string:x-canonical-private-synchronous:volumecontrol -u normal "$icon Audio Muted" + fyi --hint=string:x-canonical-private-synchronous:volumecontrol -u normal "$icon Audio Muted" else send_notification # canberra-gtk-play -i audio-volume-change |