Adding select-kitty-theme function
This commit is contained in:
parent
eb55f7413b
commit
3cdde32b70
9
.config/fish/functions/select-kitty-theme.fish
Executable file
9
.config/fish/functions/select-kitty-theme.fish
Executable 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
|
Loading…
x
Reference in New Issue
Block a user