diff options
author | Jens Grassel <jens@wegtam.com> | 2022-11-29 16:13:05 +0100 |
---|---|---|
committer | Robin Jarry <robin@jarry.cc> | 2022-11-30 16:17:10 +0100 |
commit | 118ece70af51a677f1504ec1ca13e47d0db5fc67 (patch) | |
tree | b7bce23389411ee38e0db5965d7f1dabc2219cfc /logging | |
parent | 169a967111c70d7f413ec15be715d9c513c29878 (diff) | |
download | aerc-118ece70af51a677f1504ec1ca13e47d0db5fc67.tar.gz |
colorize: add solarized theme
This modifies the colorize script to accept a command line parameter to
change the colour theme. Currently only a solarized version is added.
Due to the nature of awk the theme has to be defined via the `-v` flag.
Due to the `switch` statement only being available in GNU awk we use a
`if else` statement to ensure that the default colours are used if
either the `THEME` variable is not set at all or set to `default`.
Solarized colour scheme: https://ethanschoonover.com/solarized/
Signed-off-by: Jens Grassel <jens@wegtam.com>
Signed-off-by: Robin Jarry <robin@jarry.cc>
Diffstat (limited to 'logging')
0 files changed, 0 insertions, 0 deletions