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

Enhancement: custom start and end of tmux status bar options #217

Open
sollymay opened this issue Jun 12, 2023 · 3 comments
Open

Enhancement: custom start and end of tmux status bar options #217

sollymay opened this issue Jun 12, 2023 · 3 comments
Labels
enhancement New feature or request

Comments

@sollymay
Copy link

Describe the feature you'd like

Would be awesome to allow start and end of bar variables so that the style matches my current zsh style and neovim bubble styles.

Describe risks you've considered

Probably setting sane defaults as empty strings can help avoid any issues?

Describe alternatives you've considered

I have considered just creating a fork for myself, but I believe this feature is something that will allow Dracula tmux theme to be more flexible (allowing you to set your starting and ending character lets you create more customized status bars

Screenshot 2023-06-12 at 11 06 50 AM

@sollymay sollymay added the enhancement New feature or request label Jun 12, 2023
@ethancedwards8
Copy link
Member

Have you taken a look at this? https://github.com/dracula/tmux/blob/master/INSTALL.md?plain=1#L95

@sollymay
Copy link
Author

hey @ethancedwards8, yes, however it would render an unintended result as the character would render inside the text instead of rounding the start of the tmux status line as the image shown below (also, this would not take care of the right side)
Screenshot 2023-06-13 at 1 17 45 PM
result

@sollymay
Copy link
Author

hey @ethancedwards8 just as an update. I was able to make the change needed to "round" the left side, which essentially its just adding:
#[fg=${green},bg=${dark_gray}]#{?client_prefix,#[fg=${yellow}],}${right_sep
to the beginning of the tmux set-option -g status-left portion

When I tried a similar approach on the status-right option, it is more complicated as seems like there's a loop that parses the colors there, so have not been able to figure it out yet, but this is how it looks for now. I might work on a PR to set a function to handle this case in the future

Screenshot 2023-06-13 at 3 46 12 PM

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

No branches or pull requests

2 participants