mirror of
https://github.com/ksyasuda/aniwrapper.git
synced 2024-11-22 03:19:53 -08:00
make silent option even more silent
This commit is contained in:
parent
d4304a6e36
commit
9ef5b5092f
1
ani-cli
1
ani-cli
@ -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"
|
||||||
|
Loading…
Reference in New Issue
Block a user