All Projects → toggle-corp → Alacritty Colorscheme

toggle-corp / Alacritty Colorscheme

Licence: apache-2.0
Change colorscheme of alacritty with ease.

Programming Languages

python
139335 projects - #7 most used programming language

Projects that are alternatives of or similar to Alacritty Colorscheme

Rigel
🌌 Colorscheme for vim, terminal, vscode and slack - based on the star Rigel ✨.
Stars: ✭ 324 (+76.09%)
Mutual labels:  neovim, themes, colorscheme
Vim Monokai Tasty
VIM Colour scheme
Stars: ✭ 279 (+51.63%)
Mutual labels:  neovim, vimrc, colorscheme
Vim Janah
Vim colorscheme.
Stars: ✭ 172 (-6.52%)
Mutual labels:  neovim, colorscheme
Dotfiles
Get ready for dotfiles. Contains i3, i3blocks, rofi, dunst, picom, vim, tmux, and zsh.
Stars: ✭ 985 (+435.33%)
Mutual labels:  neovim, vimrc
Vim Pink Moon
A vim/neovim colorscheme
Stars: ✭ 89 (-51.63%)
Mutual labels:  neovim, colorscheme
Ale Sensible
Pretty, responsive and smooth defaults for a sane ALE, gets you started in 30 seconds
Stars: ✭ 30 (-83.7%)
Mutual labels:  neovim, vimrc
Vimrc
📝 Vim Configuration for nerds with vim-plug
Stars: ✭ 33 (-82.07%)
Mutual labels:  neovim, vimrc
Gruvbox.nvim
Lua port of the most famous vim colorscheme
Stars: ✭ 78 (-57.61%)
Mutual labels:  neovim, colorscheme
Dotfiles
Configuration for Linux, Nix, i3, Kitty, Fish, Neovim and more
Stars: ✭ 379 (+105.98%)
Mutual labels:  neovim, vimrc
Awesome Vim Colorschemes
Collection of awesome color schemes for Neo/vim, merged for quick use.
Stars: ✭ 1,951 (+960.33%)
Mutual labels:  neovim, themes
Toast.vim
🍞 Toast! A colorful, medium-contrast color scheme with full Vim and Neovim support and automatic light and dark variants. Easy to read without frying your retinae.
Stars: ✭ 108 (-41.3%)
Mutual labels:  neovim, colorscheme
Vime
vime, an easy and structural config for (neo)vim users
Stars: ✭ 136 (-26.09%)
Mutual labels:  neovim, vimrc
Thinkvim
Vim configuration in the 21st century
Stars: ✭ 832 (+352.17%)
Mutual labels:  neovim, vimrc
Nvim
The Ultimate NeoVim Config for Colemak Users
Stars: ✭ 754 (+309.78%)
Mutual labels:  neovim, vimrc
Onehalf
Clean, vibrant and pleasing color schemes for Vim, Sublime Text, iTerm, gnome-terminal and more.
Stars: ✭ 974 (+429.35%)
Mutual labels:  neovim, colorscheme
Neovim Init.vim
🏮 The perfect Neovim configuration for productive people who wants to level up their Vim experience with a clean, minimal-looking aesthetic, as well as a highly extensible, easily customizable set of popular tools and shortcuts to boost productivity. 🏮
Stars: ✭ 440 (+139.13%)
Mutual labels:  neovim, vimrc
Vim.ana
The portable Vim IDE with all the trimmings, one-click installable on any standard box.
Stars: ✭ 37 (-79.89%)
Mutual labels:  neovim, vimrc
Nvcode
An IDE layer for Neovim with sane defaults. Completely free and community driven.
Stars: ✭ 6,714 (+3548.91%)
Mutual labels:  neovim, vimrc
Night Owl.vim
A 24bit dark Vim colorscheme based on sdras/night-owl-vscode-theme
Stars: ✭ 349 (+89.67%)
Mutual labels:  neovim, colorscheme
Mydotfiles
All my dot configuration files.
Stars: ✭ 359 (+95.11%)
Mutual labels:  neovim, vimrc

Alacritty Colorscheme

PyPI PyPI - Downloads

Change colorscheme of alacritty with ease.

Usage

Installation

You can install alacritty-colorscheme using pip:

pip install --user alacritty-colorscheme

Usage

usage: alacritty-colorscheme [-c configuration file] [-C colorscheme directory] [-V] [-h]
                             {list,status,toggle,apply} ...

Getting colorschemes

  • You can get colorschemes from aaron-williamson/base16-alacritty

    REPO="https://github.com/aaron-williamson/base16-alacritty.git"
    DEST="$HOME/.aarors-williamson-colorschemes"
    
    # Get colorschemes 
    git clone $REPO $DEST
    # Create symlink at default colors location (optional)
    ln -s "$DEST/colors" "$HOME/.config/alacritty/colors"
    
  • You can also get colorschemes from from eendroroy/alacritty-theme

    REPO=https://github.com/eendroroy/alacritty-theme.git
    DEST="$HOME/.eendroroy-colorschemes"
    # Get colorschemes
    git clone $REPO $DEST
    # Create symlink at default colors location (optional)
    ln -s "$DEST/themes" "$HOME/.config/alacritty/colors"
    

Sync with vim/neo-vim

If you are using base16 colorschemes from base16-vim plugin, you can use the -V argument to automatically generate ~/.vimrc_background file when you change alacritty colorscheme. You will need to source this file in your vimrc to load the same colorscheme in vim.

Add this in your .vimrc file:

if filereadable(expand("~/.vimrc_background"))
  let base16colorspace=256          " Remove this line if not necessary
  source ~/.vimrc_background
endif

When you change your alacritty colorscheme, you simply need to source ~/.vimrc_background or your vimrc. If you are a neo-vim user, ~/.vimrc_background will be automatically sourced.

Examples

bash/zsh aliases

Add this in your .zshrc or .bashrc file:

LIGHT_COLOR='base16-gruvbox-light-soft.yml'
DARK_COLOR='base16-gruvbox-dark-soft.yml'

alias day="alacritty-colorscheme -V apply $LIGHT_COLOR"
alias night="alacritty-colorscheme -V apply $DARK_COLOR"
alias toggle="alacritty-colorscheme -V toggle $LIGHT_COLOR $DARK_COLOR"

i3wm/sway bindings

Add this in your i3 config file:

set $light_color base16-gruvbox-light-soft.yml
set $dark_color base16-gruvbox-dark-soft.yml

# Toggle between light and dark colorschemes
bindsym $mod+Shift+n exec alacritty-colorscheme -V toggle $light_color $dark_color

# Toggle between all available colorschemes
bindsym $mod+Shift+m exec alacritty-colorscheme -V toggle

# Get notification with current colorscheme
bindsym $mod+Shift+b exec notify-send "Alacritty Colorscheme" `alacritty-colorscheme status`

Development

Running locally

pip install --user poetry

git clone https://github.com/toggle-corp/alacritty-colorscheme.git
cd alacritty-colorscheme

poetry install
poetry run python -m alacritty_colorscheme.cli

Installing locally

pip install --user .

License

Content of this repository is released under the [Apache License, Version 2.0].

Apache License, Version 2.0

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].