Use consistent color themes for a variety of command line tools.
Project description
shell-themer
There are many modern *nix and *bsd command line tools which can output using a full 16.7 million color palette. For example:
Even the venerable ls
can show various types of files in different colors.
Unfortunately, these tools all use slightly different color configuration mechanisms. With enough fiddling, you can get your shell init scripts to make all these tools use a similar color scheme, but if you want to change it, you've got a lot of work ahead.
shell-themer
uses a single theme configuration file to standardize and unify
a set of color configurations, and generates the shell code to implement those
changes.
All that hand tweaking in your shell init files can now be replaced with:
export THEME_FILE=~/themes/dracula.toml
source <(shell-themer generate)
This changes all your environment variables and other settings for the many shell tools you use to reflect the colors in the theme you have specified.
Installation
You'll need python version 3.7 or higher. Install with pip:
pip install shell_themer
You need a *nix-ish bash shell environment. Probably works in Windows Subsystem for Linux, but isn't tested there.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file shell-themer-0.3.0.tar.gz
.
File metadata
- Download URL: shell-themer-0.3.0.tar.gz
- Upload date:
- Size: 32.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7705b792ac916bf7fca310b58cab3980d2490849fe0b56d628734297dbcb183c |
|
MD5 | 6ca9e38c9fa79093caf87bc05eb8291c |
|
BLAKE2b-256 | 7c94fccb72d2b9984191927f7d1b49c8d338faab27fb00784b0422fe57ee32e0 |
File details
Details for the file shell_themer-0.3.0-py3-none-any.whl
.
File metadata
- Download URL: shell_themer-0.3.0-py3-none-any.whl
- Upload date:
- Size: 17.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9c8a6c8d7c332e9a026118baab758d828f526e3bd442147eeb8e25302c0f033c |
|
MD5 | daa6c418039ffc273325bcbf28472d17 |
|
BLAKE2b-256 | 8e6f537e2f47e25582f68efc4ae56093bd7da6edb59386b14a4eb3106acd5499 |