Skip to main content

No project description provided

Project description


Atty

GitHub Workflow Status Codecov Downloads Ratings Version

About | Install | How to Use | Configuration | Contribute

About

Atty is a cli utility for Alacritty color theme switching.

[!NOTE] This hasn't been tested on Windows and OS X yet. There'll probably be issues with default settings, as it's looking for the $HOME/.config/alacritty folder, but after setting the --config and --theme_dir flags, it should work just fine.

Install

The recommended way to get atty is to install the latest stable release:

pip install atty

or using pipx:

pipx install atty

How to Use

The default themes folder is in $HOME/.config/alacritty/themes/.

Example:

.
├── alacritty
│   ├── alacritty.yml
│   └── themes

[!TIP] You can get the oficial themes repository of alacritty:

git clone git@github.com:alacritty/alacritty-theme.git $HOME/.config/alacritty/themes/

Next, run atty and select you favority theme:

atty

Up and Down keys: navegate on themes list
Left and Right keys: switch page
ESC key: abort
Select Color:
> Cobalt2
  Mariana
  afterglow
  alabaster
  alabaster_dark
  argonaut
  atom_one_light
  ayu_dark
  ayu_light
  baitong

Page 1/11

(enter to confirm)

Configuration

The utility can be configured by passing additional flags/parameters:

aty --help

Usage: atty [OPTIONS]

  CLI for Alacritty color theme and configuration switching.

  By default, atty will look for the alacritty's configuration file in
  "$HOME/.config/alacritty/alacritty.toml", for the theme files in
  "$HOME/.config/alacritty/themes" folder.

Options:
  --version             Show the version and exit.
  -c, --config TEXT     Absolute path of Alacritty configuration file
  -d, --theme_dir TEXT  Absolute path of themes folder
  -t, --theme TEXT      Select a theme by name instead of showing prompt.
  -h, --help            Show this message and exit.

Contribute

See this guideline here.

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

atty-0.1.0.tar.gz (6.1 kB view details)

Uploaded Source

Built Distribution

atty-0.1.0-py3-none-any.whl (6.5 kB view details)

Uploaded Python 3

File details

Details for the file atty-0.1.0.tar.gz.

File metadata

  • Download URL: atty-0.1.0.tar.gz
  • Upload date:
  • Size: 6.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/5.1.0 CPython/3.12.4

File hashes

Hashes for atty-0.1.0.tar.gz
Algorithm Hash digest
SHA256 b4e554ccd7dce47032af5510363a0128c123ac235e9f69baa5d9664683c880f5
MD5 b22c98ba5404cc183fe508d577876616
BLAKE2b-256 adc9d1bdf3a088e9054c5d3efee6763241a577ab4cdc48f9ade9a04b3d49d024

See more details on using hashes here.

File details

Details for the file atty-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: atty-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 6.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/5.1.0 CPython/3.12.4

File hashes

Hashes for atty-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 df56f566dffc046a5f99bb6e320513b3b24ee7244ed4a9dcffe5ac5110fa2452
MD5 42ff9925592d09faca60c88ff2c13c10
BLAKE2b-256 e3c22fb4a5e2ad10964bbd8c215cdd807fc48ff277c675444ebe8de41133beed

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