fix: kitty theme add a fallback for auto change theme
This commit is contained in:
parent
c0f72c3280
commit
ebdaf57460
2 changed files with 5 additions and 2 deletions
|
@ -1,2 +1,4 @@
|
|||
#!/usr/bin/env bash
|
||||
kitten themes --config-file-name=themes.conf --reload-in=all "nord-dark"
|
||||
KITTY_CONF_PATH = $HOME/.config/kitty
|
||||
# add a fallback if kitten somehow fails
|
||||
kitten themes --config-file-name=themes.conf --reload-in=all "nord-dark" || cp $KITTY_CONF_PATH/themes/nord-dark.conf $KITTY_CONF_PATH/current-theme.conf
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue