fix script not quitting when escaping from play from file mode

This commit is contained in:
ksyasuda 2022-02-16 23:58:20 -08:00
parent 01fe1bb68a
commit 6e5b3c463a

View File

@ -397,7 +397,7 @@ find_media() {
selection="$(rofi -dpi "$DPI" -dmenu -no-custom -async-pre-read 33 -config "$ROFI_CFG" \ selection="$(rofi -dpi "$DPI" -dmenu -no-custom -async-pre-read 33 -config "$ROFI_CFG" \
-l 15 -i -sep '|' -mesg "$(generate_span "Current directory: $inp")" -a "$watched" \ -l 15 -i -sep '|' -mesg "$(generate_span "Current directory: $inp")" -a "$watched" \
-p "Enter selection" -window-title 'aniwrapper' <<< "$inputlist")" -p "Enter selection" -window-title 'aniwrapper' <<< "$inputlist")"
lg "SELECTION: $selection" 1> /dev/stderr [ -z "$selection" ] && return 1
case "$selection" in case "$selection" in
Back | ../) Back | ../)
dotdotslash="${inp%/*}" dotdotslash="${inp%/*}"