diff --git a/install.sh b/install.sh index 9c2d7e4..dec27fd 100755 --- a/install.sh +++ b/install.sh @@ -54,15 +54,4 @@ source $OMARCHY_INSTALL/login/limine-snapper.sh source $OMARCHY_INSTALL/login/alt-bootloaders.sh # Reboot -clear -tte -i ~/.local/share/omarchy/logo.txt --frame-rate 920 laseretch -echo -echo "You're done! So we're ready to reboot now..." | tte --frame-rate 640 wipe - -if sudo test -f /etc/sudoers.d/99-omarchy-installer; then - sudo rm -f /etc/sudoers.d/99-omarchy-installer &>/dev/null - echo -e "\nRemember to remove USB installer!\n\n" -fi - -sleep 5 -reboot +source $OMARCHY_INSTALL/reboot.sh diff --git a/install/reboot.sh b/install/reboot.sh new file mode 100644 index 0000000..d444c14 --- /dev/null +++ b/install/reboot.sh @@ -0,0 +1,14 @@ +#!/bin/bash + +clear +tte -i ~/.local/share/omarchy/logo.txt --frame-rate 920 laseretch +echo +echo "You're done! So we're ready to reboot now..." | tte --frame-rate 640 wipe + +if sudo test -f /etc/sudoers.d/99-omarchy-installer; then + sudo rm -f /etc/sudoers.d/99-omarchy-installer &>/dev/null + echo -e "\nRemember to remove USB installer!\n\n" +fi + +sleep 5 +reboot