From 8688fe4817b726d6ffa1927ba38718bb9f02dce1 Mon Sep 17 00:00:00 2001 From: Justine Smithies Date: Sat, 3 Aug 2024 11:02:04 +0100 Subject: Using fyi notification client now --- .config/eww/scripts/brightnesscontrol | 2 +- .config/eww/scripts/volumecontrol | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to '.config/eww') diff --git a/.config/eww/scripts/brightnesscontrol b/.config/eww/scripts/brightnesscontrol index 177def6..293e383 100755 --- a/.config/eww/scripts/brightnesscontrol +++ b/.config/eww/scripts/brightnesscontrol @@ -17,7 +17,7 @@ function send_notification { # https://en.wikipedia.org/wiki/Box-drawing_character bar=$(seq -s "─" 0 $((brightness / 10 )) | sed 's/[0-9]//g') # Send the notification - notify-send -i "$icon" --hint=string:x-canonical-private-synchronous:brightness -u normal "$bar $brightness" + fyi -i "$icon" --hint=string:x-canonical-private-synchronous:brightness -u normal "$bar $brightness" } case $1 in 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 -- cgit v1.2.3