Improve rofi args in ptgdp-rofi

This commit is contained in:
Salt 2019-10-18 23:37:22 -05:00
parent 0c4b8fa378
commit 082e85c057

View File

@ -27,6 +27,6 @@ else
exit 1 exit 1
fi fi
prompt="ptgdp" prompt="ptgdp"
choice="$(rofi -dmenu -i -p "$prompt" <<< "$playlists" 2>/dev/null)" choice="$(rofi -dmenu -i -no-custom -p "$prompt" <<< "$playlists" 2>/dev/null)"
[ -z "$choice" ] && exit 2 [ -z "$choice" ] && exit 2
exec ptgdp -p "$playlistdir"/"$choice".gdp exec ptgdp -p "$playlistdir"/"$choice".gdp