Note: Followed this guide to create these Dotfiles
I am using this repository of themes.
As an excuse to play with ZSH autocompletion mechanisms, I built a basic change kitty theme command. You can find it in the scripts
folder. The tiny autocompletion bit is in .scripts/custom-autocompletes-zsh
:
If you want to use it, make sure you add these two variables to your .zshrc or .bashrc, updating them with your paths:
# Path of the kitty themes repository
export KITTY_THEMES_PATH="~/.config/kitty/kitty-themes/themes/"
export KITTY_CONFIG_PATH=~/.config/kitty/
And add this:
#Adding custom directory to fpath. To define my own autocompletion rules.
fpath=(~/.scripts/custom-autocompletes-zsh $fpath)
This path must contain the autocompletion script! Or any other path in the fpath var. I prefer to use my own.
Then put the .scritps
folder in your $HOME
and symlink the changekt
script:
ln -s ~/.scripts/kitty/changekt.zsh /usr/bin/changekt
Open a new terminal or run
compinit -u
Worth noting that I am using the dual_kawase
blur kernel available here and also neatly packaged on AUR, since it doesn't seem to be really widespread.
Relevant config:
blur-method = "dual_kawase";
blur-strength = 4;
Stole it from here. Slightly reworked. Author: milad-abbasi.