diff --git a/bin/omarchy-refresh-plymouth b/bin/omarchy-refresh-plymouth index e325974..deb2852 100755 --- a/bin/omarchy-refresh-plymouth +++ b/bin/omarchy-refresh-plymouth @@ -1,6 +1,6 @@ #!/bin/bash -if gum confirm "Refresh Plymouth theme? This will replace your current startup screen with Omarchy defaults."; then +if [[ "$1" == "-y" ]] || gum confirm "Refresh Plymouth theme? This will replace your current startup screen with Omarchy defaults."; then sudo cp ~/.local/share/omarchy/default/plymouth/* /usr/share/plymouth/themes/omarchy/ sudo plymouth-set-default-theme -R omarchy fi diff --git a/migrations/1752292967.sh b/migrations/1752292967.sh index 293d74a..8a6cde3 100644 --- a/migrations/1752292967.sh +++ b/migrations/1752292967.sh @@ -13,6 +13,6 @@ if [ -f "$HOME/.config/environment.d/fcitx.conf" ]; then sed -i 's/^GTK_IM_MODULE=fcitx$//' "$HOME/.config/environment.d/fcitx.conf" fi -omarchy-refresh-plymouth +omarchy-refresh-plymouth -y source ~/.local/share/omarchy/install/login.sh