diff options
-rwxr-xr-x | .config/eww/scripts/brightnesscontrol | 2 | ||||
-rwxr-xr-x | .config/eww/scripts/volumecontrol | 4 |
2 files changed, 3 insertions, 3 deletions
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 |