Skip to content

Commit

Permalink
Clarify theme reload
Browse files Browse the repository at this point in the history
Fixes #336
  • Loading branch information
erikw committed Oct 3, 2023
1 parent 2480e55 commit 6da8967
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 3 deletions.
11 changes: 9 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -202,8 +202,15 @@ tmux source-file ~/.tmux.conf
If your tmux looks like [this](https://github.com/erikw/tmux-powerline/issues/125) then you may have to in iTerm uncheck [Unicode East Asian Ambiguous characters are wide] in Preferences -> Settings -> Advanced.


### Changign TMUX_POWERLINE_DEFAULT_*GROUND_COLOR does not have effect
This is a known issue, see #322 for details. Workaround: reload the color change by creating a new tmux session.
### Changing the theme variables does not have effect
After changing the theme's settings e.g.
* `TMUX_POWERLINE_DEFAULT_*GROUND_COLOR`
* `TMUX_POWERLINE_WINDOW_STATUS_FORMAT`
* etc.

nothing happens.

This is a known issue, see #322 & #336 for details. Workaround: reload the theme change by creating a new tmux session.

# Hacking
This project can only gain positively from contributions. Fork today and make your own enhancements and segments to share back! If you'd like, add your name and E-mail to AUTHORS before making a pull request so you can get some credit for your work :-)
Expand Down
1 change: 0 additions & 1 deletion lib/powerline.sh
Original file line number Diff line number Diff line change
Expand Up @@ -221,4 +221,3 @@ __check_platform() {
echo "Unknown platform; modify config/shell.sh" &1>&2
fi
}

1 change: 1 addition & 0 deletions themes/default.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
# Default Theme
# If changes made here does not take effect, then try to re-create the tmux session to force reload.

if patched_font_in_use; then
TMUX_POWERLINE_SEPARATOR_LEFT_BOLD=""
Expand Down

0 comments on commit 6da8967

Please sign in to comment.