mirror of
https://github.com/jimeh/tmux-themepack.git
synced 2026-02-19 11:16:43 +00:00
feat(overrides): Add additional prefix/suffix support
Allows a higher-level prefixes and suffixes by allowing it directly on `@theme-*` options, which are what are set directly against Tmux's options. These are the prefix/suffix options added: - `@theme-status-left-prefix` - `@theme-status-left-suffix` - `@theme-status-right-prefix` - `@theme-status-right-suffix` - `@theme-window-status-current-prefix` - `@theme-window-status-current-suffix` - `@theme-window-status-prefix` - `@theme-window-status-suffix` As they are applied on the highest level, it means they work on ALL themes, including the `default` theme. The `@themepack-*` prefix/suffix options still work too, but only for themes that uses them and have three separate text areas on the left and right status.
This commit is contained in:
@@ -3,6 +3,6 @@
|
||||
#= include "powerline/_powerline-options"
|
||||
|
||||
#= include "powerline/_theme-options"
|
||||
#= include "powerline/_window-status-default"
|
||||
#= include "powerline/_theme-options-default"
|
||||
|
||||
#= include "_apply"
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
# Powerline Blue - Tmux Themepack
|
||||
#= include "powerline/_info"
|
||||
|
||||
#= include "powerline/_formats"
|
||||
#= include "powerline/_themepack-options"
|
||||
|
||||
# Powerline color options
|
||||
#= include "powerline/_colors/blue"
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
# Powerline Cyan - Tmux Themepack
|
||||
#= include "powerline/_info"
|
||||
|
||||
#= include "powerline/_formats"
|
||||
#= include "powerline/_themepack-options"
|
||||
|
||||
# Powerline color options
|
||||
#= include "powerline/_colors/cyan"
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
# Powerline Gray - Tmux Themepack
|
||||
#= include "powerline/_info"
|
||||
|
||||
#= include "powerline/_formats"
|
||||
#= include "powerline/_themepack-options"
|
||||
|
||||
# Powerline color options
|
||||
#= include "powerline/_colors/gray"
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
# Powerline Green - Tmux Themepack
|
||||
#= include "powerline/_info"
|
||||
|
||||
#= include "powerline/_formats"
|
||||
#= include "powerline/_themepack-options"
|
||||
|
||||
# Powerline color options
|
||||
#= include "powerline/_colors/green"
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
# Powerline Magenta - Tmux Themepack
|
||||
#= include "powerline/_info"
|
||||
|
||||
#= include "powerline/_formats"
|
||||
#= include "powerline/_themepack-options"
|
||||
|
||||
# Powerline color options
|
||||
#= include "powerline/_colors/magenta"
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
# Powerline Orange - Tmux Themepack
|
||||
#= include "powerline/_info"
|
||||
|
||||
#= include "powerline/_formats"
|
||||
#= include "powerline/_themepack-options"
|
||||
|
||||
# Powerline color options
|
||||
#= include "powerline/_colors/orange"
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
# Powerline Purple - Tmux Themepack
|
||||
#= include "powerline/_info"
|
||||
|
||||
#= include "powerline/_formats"
|
||||
#= include "powerline/_themepack-options"
|
||||
|
||||
# Powerline color options
|
||||
#= include "powerline/_colors/purple"
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
# Powerline Red - Tmux Themepack
|
||||
#= include "powerline/_info"
|
||||
|
||||
#= include "powerline/_formats"
|
||||
#= include "powerline/_themepack-options"
|
||||
|
||||
# Powerline color options
|
||||
#= include "powerline/_colors/red"
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
# Powerline Yellow - Tmux Themepack
|
||||
#= include "powerline/_info"
|
||||
|
||||
#= include "powerline/_formats"
|
||||
#= include "powerline/_themepack-options"
|
||||
|
||||
# Powerline color options
|
||||
#= include "powerline/_colors/yellow"
|
||||
|
||||
Reference in New Issue
Block a user