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

New option: minimized window styling group #11

Open
tuurep opened this issue Feb 11, 2024 · 1 comment
Open

New option: minimized window styling group #11

tuurep opened this issue Feb 11, 2024 · 1 comment
Labels
feature New feature or request

Comments

@tuurep
Copy link
Owner

tuurep commented Feb 11, 2024

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:

  1. just make a new config option minimized_window_fg_color (and possible bg and underline)
  2. 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?
@tuurep tuurep added the feature New feature or request label Feb 11, 2024
@tuurep
Copy link
Owner Author

tuurep commented Jun 25, 2024

I'd actually enjoy if minimized windows would be their own module so that I could have them "move" to modules-left when the main module is in the middle:

image

See if that's possible, and if that makes sense to try.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant