-
Notifications
You must be signed in to change notification settings - Fork 200
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
Appending to the status bar #21
Comments
Did you solve this? |
I'd guess customization is not supported in its current state but wanted to add my +1 to this. |
Yeah, I'd like to know about a better way of customizing it, but for now I can add more useful information to my Example:
|
In my case I did this:
|
I might have a solution to this soon. I'm thinking something along the lines of the themes define a bunch of fields/areas of information that can be overridden to customize them. It might differ a bit between themes though as the powerline themes have effectively three pieces of information on both the left and right sides, while other themes don't. I'm currently working on support Tmux 2.9 while still retaining support for 1.8 and earlier. This work should make it rather easy to add in the kind of customizations mentioned in this issue :) |
@lucasprag approach wasn't working for me until I realized I was running |
Has there been any update on this? This is a lovely theme to use, but status bar customization and appending is really needed. Even just providing support for the right status indicators for the following plugins would help a lot: |
Hi, any progress on this? Update: Here is a snippet of my tmux.conf file:
I am using the blue powerline theme, you may need to adjust to your settings. looks like this: |
Do you mind explaining the code and how to apply it? |
It's taken a lot longer than I thought to find enough time to lay the groundwork for this. But I've finally got PR #30 ready for testing. It makes it possible for end-users to easily customize any part of the themes. The powerline themes for example have three areas on both the left and the right sides of the status bar, there's a total of six customizable options, they're set like like in the themes:
The
Additional options which you can customize can be found by simply looking at the source for the theme file itself, as pretty much any option in there beginning with a |
Actually its pretty straight forward. Simply install the mentioned command line utilities Something like this will install the tools:
And then edit your tmux.conf file to include something like the following at the end of the file:
Reload tmux (prefix + I) or restart your session and you should be good to go. |
With #30 now merged, I believe this issue is resolved. This is done like I described in my earlier comment, by setting specific https://github.com/jimeh/tmux-themepack/blob/1.1.0/powerline/default/green.tmuxtheme |
I'm sorry for commenting on an old issue - but I'm doing the exact which is documented here but for me I don't see my status bar changing, this is what I have (one of the lines is cut off as it doesn't fit on the screen):
|
Solution found here: #41 |
thanks~ |
It'd be nice to be able to customize the themes further. I'm trying to add a battery status indicator to my
status-right
, and right now below the import of the themepack theme I have written:set -g status-right "#[fg=colour235,bg=colour233]#[fg=colour240,bg=colour235] %H:%M:%S #[fg=colour240, bg=colour235]#[fg=colour233,bg=colour240] %d-%b-%y #[fg=colour245,bg=colour240]#[fg=colour232,bg=colour245,bold] #H #{battery_icon} #{battery_percentage} "
It shows up for the first render, but then it looks like the theme is overwriting my
status-right
immediately afterThe text was updated successfully, but these errors were encountered: