[FEAT]: Stackbar tab styling #417

Closed
opened 2026-01-05 14:50:36 +01:00 by adam · 4 comments
Owner

Originally created by @CtByte on GitHub (Jun 17, 2024).

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.

Originally created by @CtByte on GitHub (Jun 17, 2024). **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](https://github.com/LGUG2Z/komorebi/assets/165908630/6fc5ffd5-ecd4-4900-8163-1ccb47ea9f0a) --- **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: ```json "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.
adam added the enhancementi-will-not-work-on-this labels 2026-01-05 14:50:36 +01:00
adam closed this issue 2026-01-05 14:50:37 +01:00
Author
Owner

@CtByte commented on GitHub (Jul 10, 2024):

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

@CtByte commented on GitHub (Jul 10, 2024): @sclnd has [asked about](https://github.com/LGUG2Z/komorebi/discussions/909) an option to customize the text size, which might also be a nice addition to this
Author
Owner

@CtByte commented on GitHub (Sep 15, 2024):

@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 🚀

@CtByte commented on GitHub (Sep 15, 2024): @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 🚀
Author
Owner

@LGUG2Z commented on GitHub (Jan 23, 2025):

@CtByte I'm pretty sure that the themes should apply to the stackbar tabs now too?

@LGUG2Z commented on GitHub (Jan 23, 2025): @CtByte I'm pretty sure that the themes should apply to the stackbar tabs now too?
Author
Owner

@CtByte commented on GitHub (Jan 23, 2025):

@LGUG2Z I am more than happy with how the bar is showing the stackbar 👍 (I no longer use the "first version")

@CtByte commented on GitHub (Jan 23, 2025): @LGUG2Z I am more than happy with how the bar is showing the stackbar 👍 (I no longer use the "first version")
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/komorebi#417