Merge pull request #130 from MislavPukljak/fix/chrome-shutdown

fix the chrome shut down problem on changing theme
This commit is contained in:
David Heinemeier Hansson
2024-06-14 11:57:07 +02:00
committed by GitHub

View File

@@ -14,7 +14,9 @@ if [ -n "$THEME" ] && [ "$THEME" != "<<-back" ]; then
# Chrome theme update
if gum confirm "Do you want to update Chrome theme? If yes, Chrome will be restarted!"; then
pkill -9 chrome
pkill -f chrome
wait
source $OMAKUB_PATH/themes/chrome/$THEME.sh
google-chrome > /dev/null 2>&1 &
fi