summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Voss <mail@thomasvoss.com> 2023-09-15 01:31:05 +0300
committerThomas Voss <mail@thomasvoss.com> 2023-09-15 01:31:05 +0300
commit3cf95e8ea2baa48babc2253386bc09f60e0ae322 (patch)
tree3bf8454f831e7933cc42a85bca7f29dc023ffab5
parent275d6de472ffe0e295f9478020e9d3a618b54fd1 (diff)
meta: Don’t pass ‘-u normal’ to ‘notify-send’
-rwxr-xr-x.config/eww/scripts/email-listener2
-rwxr-xr-x.local/bin/chkb2
-rwxr-xr-x.local/bin/vlt2
-rwxr-xr-x.local/sbin/chtz2
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’."