Home

Awesome

Base16 Template for (*nix) TTY consoles

Base16 template to generate ANSI escape sequences for terminal colors.

This was initially inspired by Pywal.

Usage

Use a Base16 Builder to generate the theme file.

Add this to your shells config file (.zshrc, .bashrc, etc.) to set the terminal colors on startup:

(cat /path/to/theme/file &)

The theme file can also be written to /dev/ttys00[0-9] or /dev/pts/[0-9] to change the colors of all open terminals.

for tty in /dev/pts/[0-9]; do
    cat /path/to/theme/file > $tty
done

License

licensed under MIT License Copyright (c) 2021 Marcel Arpogaus. See LICENSE for further details.