Allow for local kitty colour scheme
This commit is contained in:
parent
bd2a8e150b
commit
0573ee880a
1 changed files with 2 additions and 1 deletions
|
@ -36,7 +36,8 @@ fi
|
||||||
for socket in $(find /tmp/ -maxdepth 1 -name "kitty-$USER-*")
|
for socket in $(find /tmp/ -maxdepth 1 -name "kitty-$USER-*")
|
||||||
do
|
do
|
||||||
if which kitty > /dev/null; then
|
if which kitty > /dev/null; then
|
||||||
kitty @ --to unix:$socket set-colors --configured $HOME/darkrc/kitty_$theme.conf >/dev/null
|
theme=$(cat $HOME/.config/kitty/kitty.conf | sed -n '/^include/p' | sed -n -e 's/^include //' -e 's|$HOME|'"$HOME"'|' -e '/kitty_.*.conf$/p')
|
||||||
|
kitty @ --to unix:$socket set-colors --configured $theme >/dev/null
|
||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue