diff --git a/bin/omakub-theme b/bin/omakub-theme index 46a924e..6c0f95c 100644 --- a/bin/omakub-theme +++ b/bin/omakub-theme @@ -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