tundra
tundra copied to clipboard
Add browser window title detection too
I watch anime online in my browser instead of locally. It would be nice if Tundra could detect Firefox/Chromium running and monitor the current tab name. I know that not all websites will change the title depending on the episode, but most do.
Do you have any examples of websites that do that? I thought MPRIS-based detection would suffice in these cases; I believe both Firefox and Chrome report media being played to the operating system. Another question is whether Tundra can make use of that in the current version - that's why I'm asking for specific websites so I can test them individually.
I'm unsure if there's a way to enumerate window titles on Wayland, so that might reduce the usefulness of such a feature, especially in the future, when more distros switch to Wayland by default. Ideally, other methods should be explored.
Do you have any examples of websites that do that? I thought MPRIS-based detection would suffice in these cases; I believe both Firefox and Chrome report media being played to the operating system. Another question is whether Tundra can make use of that in the current version - that's why I'm asking for specific websites so I can test them individually.
I'm unsure if there's a way to enumerate window titles on Wayland, so that might reduce the usefulness of such a feature, especially in the future, when more distros switch to Wayland by default. Ideally, other methods should be explored.
dunno for other window managers, but hyprland gives you the details of the windows and their title with hyprctl clients