mirror of
https://github.com/ksyasuda/aniwrapper.git
synced 2024-11-22 03:19:53 -08:00
Compare commits
2 Commits
4fb1c113b9
...
9ef5b5092f
Author | SHA1 | Date | |
---|---|---|---|
|
9ef5b5092f | ||
|
d4304a6e36 |
3
ani-cli
3
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"
|
||||||
@ -361,7 +362,7 @@ get_directory_data() {
|
|||||||
elif [[ -z "$inputlist" && "$search_dir" != / ]]; then
|
elif [[ -z "$inputlist" && "$search_dir" != / ]]; then
|
||||||
inputlist="../|Back|Quit"
|
inputlist="../|Back|Quit"
|
||||||
elif [[ "$search_dir" = / ]]; then
|
elif [[ "$search_dir" = / ]]; then
|
||||||
inputlist="$inputlist|Back|Quit"
|
inputlist="$inputlist|Quit"
|
||||||
else
|
else
|
||||||
inputlist="Quit"
|
inputlist="Quit"
|
||||||
fi
|
fi
|
||||||
|
Loading…
Reference in New Issue
Block a user