forked from jimeh/tmux-themepack
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: status bar item duplication on conf reload
This fixes a weird behavior where a custom status bar item (e.g. a prefix) would be duplicated in the status bar after a configuration reload. e.g. prior to this fix, setting: set -g @theme-status-left-prefix "test" and reloading the configuration multiple times would result in multiple 'test' strings being added as prefix. Fixes jimeh#54
- Loading branch information
Showing
5 changed files
with
14 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
set -goqF @theme-window-status-current-bg "#{@powerline-color-main-1}" | ||
set -goqF @theme-window-status-current-fg "#{@powerline-color-black-1}" | ||
set -goqF @theme-window-status-format " #{@themepack-window-status-format} " | ||
set -goqF @theme-window-status-current-format " #{@themepack-window-status-current-format} " | ||
set -goqF @theme-window-status-format-custom " #{@themepack-window-status-format} " | ||
set -goqF @theme-window-status-current-format-custom " #{@themepack-window-status-current-format} " |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
set -goqF @theme-window-status-current-bg "#{@powerline-color-black-1}" | ||
set -goqF @theme-window-status-current-fg "#{@powerline-color-main-2}" | ||
set -goqF @theme-window-status-format " #{@themepack-window-status-format} " | ||
set -goqF @theme-window-status-current-format "#[fg=#{@theme-status-bg},bg=#{@theme-window-status-current-bg}]#[fg=#{@theme-window-status-current-fg},nobold] #{@themepack-window-status-current-format} #[fg=#{@theme-status-bg},bg=#{@theme-window-status-current-bg},nobold]" | ||
set -goqF @theme-window-status-format-custom " #{@themepack-window-status-format} " | ||
set -goqF @theme-window-status-current-format-custom "#[fg=#{@theme-status-bg},bg=#{@theme-window-status-current-bg}]#[fg=#{@theme-window-status-current-fg},nobold] #{@themepack-window-status-current-format} #[fg=#{@theme-status-bg},bg=#{@theme-window-status-current-bg},nobold]" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters