Skip to content

New option: minimized window styling group #11

@tuurep

Description

@tuurep

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    featureNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions