ptgdp: Silence rofi errors
This commit is contained in:
parent
524a013cbb
commit
6ed11f8c8a
2
ptgdp
2
ptgdp
@ -120,7 +120,7 @@ rofimenu() {
|
||||
normal dialog-error 5000
|
||||
error "No playlists found" 61
|
||||
fi
|
||||
choice="$(rofi -dmenu -i -p "$_name" <<< "$playlists")"
|
||||
choice="$(rofi -dmenu -i -p "$_name" <<< "$playlists" 2>/dev/null)"
|
||||
[ -z "$choice" ] && error "User aborted at selection" 62
|
||||
playlist "$_optrofi"/"$choice".gdp
|
||||
return 0
|
||||
|
Loading…
Reference in New Issue
Block a user