Adding select-kitty-theme function

This commit is contained in:
Joseph Ferano 2021-10-22 17:16:08 +07:00
parent eb55f7413b
commit 3cdde32b70

View File

@ -0,0 +1,9 @@
function kitty_select_theme
pushd /home/joe/.config/kitty/themes/preferred
set theme (fzf --height=35% --preview 'echo {} && kitty @ set-colors -a -c {}')
kitty @ set-colors -a -c $theme
cat $theme > ~/.config/kitty/theme.conf
popd
end