https://github.com/averms/base16-cmus
Base16 for cmus
https://github.com/averms/base16-cmus
base16 base16-template
Last synced: about 1 year ago
JSON representation
Base16 for cmus
- Host: GitHub
- URL: https://github.com/averms/base16-cmus
- Owner: averms
- License: mit
- Created: 2018-12-28T19:30:17.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2020-05-09T04:08:01.000Z (about 6 years ago)
- Last Synced: 2025-01-26T02:44:28.102Z (over 1 year ago)
- Topics: base16, base16-template
- Language: HTML
- Size: 42 KB
- Stars: 4
- Watchers: 1
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# base16-cmus
## Info
Base16 for the cmus theme format. Relies on your terminal colors also being the same so
make sure to use this in conjuction with [base16-xresources] or [base16-iterm2] or
whatever is the right template for the terminal emulator you have.
[base16-xresources]: https://github.com/chriskempson/base16-xresources
[base16-iterm2]: https://github.com/martinlindhe/base16-iterm2
Cmus color display is a little borked, so the terminal colors from 8-15 aren't actually
taken from the terminal color pallete, they are just bold/brighter (depending on terminal
emulator) versions of 0-7. You can see the relevant source code [here]. This doesn't
affect any of the themes here because they only use terminal colors up to 7 (you don't need
that many different colors for the UI of a music program).
Since this template only uses the first 16 ANSI colors, it doesn't even need to be
generated. You can grab [default.mustache](templates/default.mustache) and use it as
your permanent cmus theme. It will always adapt to your terminal colors, whether they
were generated from base16 or not.
[here]: https://github.com/cmus/cmus/blob/d1290d50f9f7585c43b9e1326c0d6d1e0b4583f6/ui_curses.c#L1780
## Install
Put into `~/.config/cmus`.