/tty-solarized

Solarized theme for the tty

Primary LanguageShell

Solarized color theme for the linux TTY

A tty solarized theme using Ethan Schoonover’s Solarized color theme.

If you are looking for colors on your xterm, konsole, terminator, urxvt, guake, aterm and friends, please search a bit more. This script is for setting the colors on a linux TTY, the real terminal that you get if you are not running X or wayland.

Repositories

Installation

Source either tty-solarized-dark.sh or tty-solarized-light.sh in the startup file of your shell. As this is only run on TTYs where usually a login shell is started, the login file of your shell (${ZDOTDIR:-$HOME}/.zlogin for zsh or ~/.profile for bash). Now the 'normal' names for colors are available to your applications.

Using as an oh-my-zsh plugin:

  1. Clone this repo to ~/.oh-my-zsh/custom/plugins/tty-solarized
  2. Add tty-solarized to the plugins variable in ~/.zshrc (separate via space)
  3. [optionally] Add zstyle line right after plugins var (it must be before the source line!):
zstyle :omz:plugins:tty-solarized theme-shade "light"
# or:
zstyle :omz:plugins:tty-solarized theme-shade "dark"
# other values are not supported, "dark" is default

Included is also the awk-script used to generate those two files. Would the color scheme be changed upstream, anyone with gawk installed can update these files.