Skip to content

Commit

Permalink
Merge pull request #403 from b-/patch-1
Browse files Browse the repository at this point in the history
Feat: apply_kitty(): reload config after applying theme
  • Loading branch information
Mgldvd committed Oct 20, 2023
2 parents 6840a46 + 39c497b commit d709080
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions apply-colors.sh
Original file line number Diff line number Diff line change
Expand Up @@ -578,8 +578,9 @@ apply_kitty() {
[ -n "$HIGHLIGHT_BG_COLOR" ] && echo "selection_background $HIGHLIGHT_BG_COLOR" >> "$CFGFILE"

echo "cursor $CURSOR_COLOR" >> "$CFGFILE"

echo "Done - please reopen your kitty terminal to see the changes"

echo "Done - signaling kitty to reload"
killall -u ${USER} -SIGUSR1 kitty || pkill --uid $(id -u) -SIGUSR1 kitty || echo "Reload failed. Please reopen your kitty terminal to see the changes."
}

apply_konsole() {
Expand Down

0 comments on commit d709080

Please sign in to comment.