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 WM_ROLE to windows generated by flameshot #3635

Open
yggdr opened this issue Jun 12, 2024 · 1 comment
Open

Add WM_ROLE to windows generated by flameshot #3635

yggdr opened this issue Jun 12, 2024 · 1 comment
Labels
Enhancement Feature requests and code enhancements

Comments

@yggdr
Copy link

yggdr commented Jun 12, 2024

Feature Description

Currently I cannot easily control which of the windows flameshot opens (like configuration, or the "Pin to desktop"-window) should be set to floating in my i3 configuration. With firefox e.g. I able to filter for window_role="PictureInPicture" to have the video player popup automatically in floating mode. In flameshot, I can only really filter for the entire class='flameshot'.
Adding WM_ROLE to the various windows opened would make this selection more granular.

@yggdr yggdr added the Enhancement Feature requests and code enhancements label Jun 12, 2024
@mmahmoudian
Copy link
Member

mmahmoudian commented Jun 19, 2024

I agree that this can be further improved, but at the moment, at least for the windows I tested, it is possible to have granular window rules by using combination of "window class" and "window title":

bitmap

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Enhancement Feature requests and code enhancements
Projects
None yet
Development

No branches or pull requests

2 participants