Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add browser window title detection too #97

Open
K0-RR opened this issue Oct 24, 2023 · 2 comments
Open

Add browser window title detection too #97

K0-RR opened this issue Oct 24, 2023 · 2 comments
Labels
enhancement New feature or request

Comments

@K0-RR
Copy link

K0-RR commented Oct 24, 2023

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.

@m4tx
Copy link
Owner

m4tx commented Nov 7, 2023

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.

@ligmaSec
Copy link

ligmaSec commented Nov 8, 2023

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

@m4tx m4tx added the enhancement New feature or request label Feb 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants