eww
eww copied to clipboard
[FEATURE] WAYLAND - defwindow on focused monitor
Description of the requested feature
Currently in the documentation, inside the description of the defwindow propertied:
monitor: Which monitor this window should be displayed on. Can be either a number (X11 and Wayland) or an output name (X11 only).
It could be great to give the possibilities of specify ":monitor focused" so that the window will be showed on the currently focused monitor.
USE CASES:
I've done a workspace number banner to show the workspace I'm in when I change it (I don't use bars so this is not something that could stay statically on the screen). When I use multiple monitors and I change workspace on the secondary screen I have to look back on the main one to see the number of workspace I'm in
The same problem applies to a custom information viewer I made (something like a normal bar), which is always shown on the main monitor even if I'm working on the secondary, while it could be nice to see it on the monitor I'm using.
If how this functioning of this possible feature is not clear let me know and I will provide some more context! Thanks!
Proposed configuration syntax
(defwindow workspace :stacking "fg" :focusable "false" :monitor "focused" ... )
Additional context
No response
So if I understand correctly, you are proposing to add an option to show the window on the currently-focused monitor? If so, it would definitely be useful for me too.