From 3cf95e8ea2baa48babc2253386bc09f60e0ae322 Mon Sep 17 00:00:00 2001 From: Thomas Voss Date: Fri, 15 Sep 2023 01:31:05 +0300 Subject: meta: Don’t pass ‘-u normal’ to ‘notify-send’ MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .config/eww/scripts/email-listener | 2 +- .local/bin/chkb | 2 +- .local/bin/vlt | 2 +- .local/sbin/chtz | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.config/eww/scripts/email-listener b/.config/eww/scripts/email-listener index b8c7ad7..a555d09 100755 --- a/.config/eww/scripts/email-listener +++ b/.config/eww/scripts/email-listener @@ -18,7 +18,7 @@ count() ;; esac - [ $x -gt ${prev:=0} ] && notify-send -a email -u normal 'New Email' \ + [ $x -gt ${prev:=0} ] && notify-send -a email 'New Email' \ "A new unread email has been recieved. $cnt." prev=$x } diff --git a/.local/bin/chkb b/.local/bin/chkb index a61e7d9..2edc0d6 100755 --- a/.local/bin/chkb +++ b/.local/bin/chkb @@ -16,6 +16,6 @@ if choice="` `" then hyprctl switchxkblayout $KEYBOARD ${choice% *} >/dev/null - notify-send -a "${0##*/}" -u normal 'Keyboard Layout Changed' \ + notify-send -a "${0##*/}" 'Keyboard Layout Changed' \ "The keyboard layout was changed to ‘${choice##* }’." fi diff --git a/.local/bin/vlt b/.local/bin/vlt index 92c2fda..7e48c8d 100755 --- a/.local/bin/vlt +++ b/.local/bin/vlt @@ -35,7 +35,7 @@ notify() then printf "%s: %s\n" "${0##*/}" "$2" >&2 else - notify-send -a "${0##*/}" -u normal "$1" "$2." + notify-send -a "${0##*/}" "$1" "$2." fi } diff --git a/.local/sbin/chtz b/.local/sbin/chtz index 413bf40..28fff0f 100755 --- a/.local/sbin/chtz +++ b/.local/sbin/chtz @@ -4,5 +4,5 @@ set -e choice="`timedatectl list-timezones | grep './.' | osel`" \ && sudo timedatectl set-timezone "$choice" \ - && notify-send -a "${0##*/}" -u normal 'Timezone changed' \ + && notify-send -a "${0##*/}" 'Timezone changed' \ "The system timezone was changed to ‘$choice’." -- cgit v1.2.3