Skip to main content


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.

Metadata

Release files for atty 0.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for atty 0.1.0
File Size Uploaded
atty-0.1.0.tar.gz 6.1 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for atty 0.1.0
File Interpreter ABI Platform
atty-0.1.0-py3-none-any.whl Python 3 none any Details

Total release size: 12.6 kB

Release files / atty-0.1.0.tar.gz

Download URL atty-0.1.0.tar.gz
Size 6.1 kB
Tags Source
SHA-256 checksum
How to use checksums
b4e554ccd7dce47032af5510363a0128c123ac235e9f69baa5d9664683c880f5
BLAKE2b-256 checksum
How to use checksums
adc9d1bdf3a088e9054c5d3efee6763241a577ab4cdc48f9ade9a04b3d49d024
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/5.1.0 CPython/3.12.4

Release files / atty-0.1.0-py3-none-any.whl

Download URL atty-0.1.0-py3-none-any.whl
Size 6.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
df56f566dffc046a5f99bb6e320513b3b24ee7244ed4a9dcffe5ac5110fa2452
BLAKE2b-256 checksum
How to use checksums
e3c22fb4a5e2ad10964bbd8c215cdd807fc48ff277c675444ebe8de41133beed
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/5.1.0 CPython/3.12.4

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page