mirror of
https://github.com/aljazceru/omakub.git
synced 2026-01-17 19:04:19 +01:00
Merge pull request #130 from MislavPukljak/fix/chrome-shutdown
fix the chrome shut down problem on changing theme
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user