Skip to content

Commit

Permalink
stremio-playerctlsel: fix not handling stremio
Browse files Browse the repository at this point in the history
  • Loading branch information
XPhyro committed Mar 17, 2024
1 parent fdd6b15 commit 600c955
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/sh/util/integration/stremio/stremio-playerctlsel
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
if ! ids="$(xdotool search --name "^Stremio - Freedom to Stream$")"; then
playerctlsel "$@"
else
while IFS= read -r id; do
printf "%s\n" "$ids" | while IFS= read -r id; do
[ "$(xprop -id "$id" WM_CLASS)" = 'WM_CLASS(STRING) = "stremio", "Stremio"' ]
ret="$?"
[ "$ret" -eq 0 ] && {
Expand Down

0 comments on commit 600c955

Please sign in to comment.