I like the idea of visually distinguishing if a window is minimized (aka "iconified")
There was an open pull request on this in the original polywins repo, but it's now removed. If I recall it was not very complicated, though!
I have thought of two alternate ways:
- just make a new config option
minimized_window_fg_color (and possible bg and underline)
- move minimized window to a separated area on the module, for example could look like this:
[ firefox · discord ] --- steam · gimp · mpv
- minimized windows grouped on the left, and clicking on one would bring it back to the "main" area
steam · gimp · mpv --- [ firefox · discord ]
- could be either side and configurable
Option 1. would be great, simple and understandable. I will probably do it.
Option 2. is a bit of a wild idea, I might not go for it, but it could be worth experimenting on.
Problems:
- How to detect a window is minimized or not?
- Should this be a field on
window_props, or give the window id to a function that will check if it's minimized before formatting for polybar?
I like the idea of visually distinguishing if a window is minimized (aka "iconified")
There was an open pull request on this in the original polywins repo, but it's now removed. If I recall it was not very complicated, though!
I have thought of two alternate ways:
minimized_window_fg_color(and possiblebgandunderline)[ firefox · discord ] --- steam · gimp · mpvsteam · gimp · mpv --- [ firefox · discord ]Option 1. would be great, simple and understandable. I will probably do it.
Option 2. is a bit of a wild idea, I might not go for it, but it could be worth experimenting on.
Problems:
window_props, or give the window id to a function that will check if it's minimized before formatting for polybar?