diff options
Diffstat (limited to 'clerk')
-rwxr-xr-x | clerk | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -684,6 +684,11 @@ crossfadePrompt () { # not support custom names for urls. format of podcast in file is "Name \ URL" loadRSS () { podcast=$(echo -e "< Return\n---\n$(cat $HOME/.config/clerk/podcasts | cut -d '\' -f1)" | dmenu_t -p "Choose Podcast > ") + val=$? + + if [[ $val -eq 1 ]]; then + exit + fi if [[ $podcast == "< Return" ]]; then dplayQueue else |