mirror of
https://github.com/LGUG2Z/komorebi.git
synced 2026-01-11 14:40:25 +01:00
[FEAT]: Stackbar #301
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @LGUG2Z on GitHub (Feb 24, 2024).
Originally assigned to: @LGUG2Z on GitHub.
Is your feature request related to a problem? Please describe.
I'd like visual indicators of which windows are in a given stack in the form of a stackbar.
Describe the solution you'd like
When a container has more than one window, a stackbar appears on top of the windows.
Describe alternatives you've considered
Different border colours for multi-window containers are implemented, but this would be even more helpful for understanding what is in a stack at any given time, especially when coming back a running computer after some time away.
Additional context
This has been implemented by @eythaann in their fork, though there is considerable drift in how the code is structured in the fork.
I believe the relevant commits are these:
953703e5f968728c3fb675d5802640e8b7ec4161@eythaann commented on GitHub (Feb 25, 2024):
@LGUG2Z Basically is easy to do a PR but I have to do it manually, using cherry pick is imposible in this case, but I love follow encapsulation principle so copying the top_bar.rs file is the most part of the feature, also testing it I have a specifit issue:
@NireBryce commented on GitHub (Mar 1, 2024):
I missed this title in the search, so I accidentally duped it
reposting the
zellijstacked titles screenshot (left side) because it might be a useful reference@LGUG2Z commented on GitHub (Mar 1, 2024):
@NireBryce You're welcome to play around with what is on the branch here: https://github.com/LGUG2Z/komorebi/tree/feature/stackbar
It's functional, but I'm sure there are some edge cases waiting to be found. Here is the config snippet (top-level in
komorebi.json) that I am using when I work on that branch: