-
Notifications
You must be signed in to change notification settings - Fork 315
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
feature/ enhancement: custom start and end of tmux status bar options #306
base: master
Are you sure you want to change the base?
Conversation
Heya @druxorey |
Hi there @Theoreticallyhugo, Thank you for your feedback and for testing the feature. I tried this feature with the plugins Regarding the optional feature implementation, I will work on it shortly. |
@Theoreticallyhugo That's weird, can you check how you have configured your |
the following is the config i use on my mac with tmux 3.5a
|
Ohhh.... It makes sense, I'll have to add it in the I think we should prioritize refactoring before continuing to add things. Do I add this change then and then we'll see about the refactoring then? Edit: Forget what I said, I already simplified the border logic a bit to make it easier to understand. |
Fixed the logic for setting the `$show_edge_icons` variable when the `$show_empty_plugins` is false.
Refactored the logic for `$show_edge_icons` in the tmux status-right configuration. The edge icon calculation is now done beforehand, reducing the complexity of the if statements and improving code readability.
thank you very much for your contribution. i would like to keep the pr open for another few days (less than a week) for others to look at it, and then id merge. |
Added a new section in the CONFIG.md to enable edge icons for the Dracula theme. This provides users with an option to display edge icons in their tmux status bar.
heya, if you look at the last screenshot i posted, you can see some weird colour fragment at the left tip of the ram info. id like to investigate that before merging, but probably wont look into it today. |
Yes, I saw it, that must be because when the |
Fixed the background color handling in the status bar. Changed from a fixed value to using the `bg_color` variable for better consistency and customization.
It should be fixed now, plus I fixed an issue that caused borders to be inconsistent when |
Fixed the edge icons colors and styles when `$transparent_powerline_bg` is false. This ensures that the correct colors are applied based on the edge icon configuration.
16c2940
to
9c52a41
Compare
for some reason the colour between the plugins is still different to the colour between the windows and plugin 🧐 EDIT: |
Can you send a screenshot? I tried it with your configuration and it looked good |
thats really odd. the change i suggested in the review fixes it for me tho. would you mind checking whether it breaks nothing for you? |
Description
This pull request adds a new boolean option
@dracula-show-edge-icons
to the Dracula Theme plugin for tmux. This option allows the icons defined in theshow_left_sep
andshow_right_sep
variables to also be displayed at the beginning and end of the status bar.@dracula-show-edge-icons = false
@dracula-show-edge-icons = true
Changes made:
@dracula-show-edge-icons
option with a default value offalse
.status-left
andstatus-right
configurations to include edge icons when@dracula-show-edge-icons
is enabled.Issue resolved
This change resolves issue #217, where the option to display icons at the edges of the status bar was requested.
Usage example
To enable this option, add the following line to your tmux configuration file: