2 releases

0.1.1 Oct 22, 2022
0.1.0 Oct 22, 2022

#7 in #alacritty

27 downloads per month

MIT license

7KB
132 lines

alacritty-opacity

A simple command-line tool to adjust Alacritty's opacity configuration.

Usage

Install alacritty-opacity.

cargo install alacritty-opacity

Increase or decrease opacity by value.

# the value must be between 0.0 ~ 1.0
alacritty-opacity increase 0.1
alacritty-opacity decrease 0.1

Currently i'm using with key bindings for Tmux. (Press ) or ( after prefix key to adjust opacity)

bind-key -r ) run-shell -b "alacritty-opacity increase 0.1"
bind-key -r ( run-shell -b "alacritty-opacity decrease 0.1"

Dependencies

~3.5–5.5MB
~91K SLoC