Skip to main content

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 color
  • Token.Terminal.Background - Background color
  • Token.Terminal.Curson - Cursor color

Credits

This package was created with xontrib cookiecutter template.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

xontrib-termcolors-0.1.0.tar.gz (3.4 kB view details)

Uploaded Source

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

Hashes for xontrib-termcolors-0.1.0.tar.gz
Algorithm Hash digest
SHA256 e6b772278611bfd840639c92892047fd3a99f8b4fcb55d0dcb7bc12edf66ce63
MD5 999695e9fc1950e404c4c71d993799b7
BLAKE2b-256 de4a04d7dbee074a21497d72b6e7e2e79bb0f904bbfefab8e5d7a027c4d5639c

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page