make silent option even more silent

This commit is contained in:
ksyasuda 2022-02-01 11:42:34 -08:00
parent d4304a6e36
commit 9ef5b5092f

View File

@ -130,6 +130,7 @@ dep_ch() {
} }
notification() { notification() {
((SILENT == 1)) && return 0
msg="$*" msg="$*"
if command -v "notify-send" > /dev/null; then if command -v "notify-send" > /dev/null; then
notify-send -i "$ANIWRAPPER_ICON_PATH" "$msg" notify-send -i "$ANIWRAPPER_ICON_PATH" "$msg"