ptgdp: Silence rofi errors
This commit is contained in:
2
ptgdp
2
ptgdp
@@ -120,7 +120,7 @@ rofimenu() {
|
|||||||
normal dialog-error 5000
|
normal dialog-error 5000
|
||||||
error "No playlists found" 61
|
error "No playlists found" 61
|
||||||
fi
|
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
|
[ -z "$choice" ] && error "User aborted at selection" 62
|
||||||
playlist "$_optrofi"/"$choice".gdp
|
playlist "$_optrofi"/"$choice".gdp
|
||||||
return 0
|
return 0
|
||||||
|
Reference in New Issue
Block a user