Set terminal colors based on selected xonsh theme.
Project description
Set terminal colors based on selected xonsh theme.
If you like the idea click ⭐ on the repo and tweet.
Installation
To install use pip:
xpip install xontrib-termcolors
# or: xpip install -U git+https://github.com/dyuri/xontrib-termcolors
Usage
This xontrib sets the colors of your terminal based on your xonsh theme.
$ xontrib load termcolors
$ termcolors
Colors
The main 16 colors will be used directly from the pygments/ptk theme. The following special colors can be set by adding the tokens to your theme:
Token.Terminal.Foreground
- foreground colorToken.Terminal.Background
- Background colorToken.Terminal.Curson
- Cursor color
Credits
This package was created with xontrib cookiecutter template.
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
File details
Details for the file xontrib-termcolors-0.1.0.tar.gz
.
File metadata
- Download URL: xontrib-termcolors-0.1.0.tar.gz
- Upload date:
- Size: 3.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/52.0.0 requests-toolbelt/0.9.1 tqdm/4.56.0 CPython/3.9.1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | e6b772278611bfd840639c92892047fd3a99f8b4fcb55d0dcb7bc12edf66ce63 |
|
MD5 | 999695e9fc1950e404c4c71d993799b7 |
|
BLAKE2b-256 | de4a04d7dbee074a21497d72b6e7e2e79bb0f904bbfefab8e5d7a027c4d5639c |