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 is achieved by using custom @-prefixed tmux options which are set
with the `-o` option, meaning, the theme will only set the value if it
is not already set.
This allows users to override any of the options in the theme by simply
setting them before loading the theme.
Additionally all themes are now generated using a custom theme builder,
that allows sharing various parts of themes between them easily.
Use Tmux itself by spinning up a temporary test server, load the theme,
and use "show-options" to pull out and validate relevant options that
are set by the theme.
This ensures that the only variations between the different colors of
each type of powerline themes are only the colors.
This has made the magenta themes less purple and more magenta.
Trying to follow the instructions on Ubuntu 16.04 gave me a `no such file or directory` error. It can be solved by removing the quotation marks from the argument in the `source-file` command.
Thanks to the currently active window and other windows with activity
colors being very similar, it was often quite hard to see which window
is currently active.
This changes activity color in other windows to just be gray, rather
than the specific color of the theme, allowing the currently active
window to stand out more.