Compare commits

...

2 Commits

Author SHA1 Message Date
ksyasuda
9ef5b5092f make silent option even more silent 2022-02-01 11:43:02 -08:00
ksyasuda
d4304a6e36 remove back option if searching from / 2022-02-01 11:36:10 -08:00

View File

@ -130,6 +130,7 @@ dep_ch() {
}
notification() {
((SILENT == 1)) && return 0
msg="$*"
if command -v "notify-send" > /dev/null; then
notify-send -i "$ANIWRAPPER_ICON_PATH" "$msg"
@ -361,7 +362,7 @@ get_directory_data() {
elif [[ -z "$inputlist" && "$search_dir" != / ]]; then
inputlist="../|Back|Quit"
elif [[ "$search_dir" = / ]]; then
inputlist="$inputlist|Back|Quit"
inputlist="$inputlist|Quit"
else
inputlist="Quit"
fi