LGUG2Z / komorebi

A tiling window manager for Windows 🍉
https://lgug2z.github.io/komorebi/
Other
9.3k stars 188 forks source link

[FEAT]: Stackbar tab styling #885

Open CtByte opened 4 months ago

CtByte commented 4 months ago

Is your feature request related to a problem? Please describe. When I have a background close to the background color of the stackbar.tabs, it is difficult to see the stackbar tabs.

image


Describe the solution you'd like A. If there is a border set with the same color as the focused_text and unfocused_text, would be enough for the tabs to stand out more.

B. An other idea could be to add focused_border, unfocused_border, focused_background, unfocused_background (maybe use the background to set both focused and unfocused backgrounds at the same time).

C. Could organize the setting like this, but it could break old configs:

  "stackbar": {
    "height": 40,
    "label": "Title",
    "mode": "OnStack",
    "tabs": {
      "width": 300,
      "focused": {
        "text": "",
        "border": "",
        "background": "",
      },
      "unfocused": {
        "text": "",
        "border": "",
        "background": "",
      }
    }
  },

Describe alternatives you've considered I know that I could change the stackbar.tabs.background color, but I would like to keep the dark theme as my windows.


Additional context After seeing your video on the undocumented win32 pitfall, I hope this wouldn't complicate things.

CtByte commented 3 months ago

@sclnd has asked about an option to customize the text size, which might also be a nice addition to this

CtByte commented 1 month ago

@LGUG2Z Now that the bar is released and you use themes for the borders, can that also somehow apply to the stackbar perhaps?

Congrats on the bar once again 🚀