Added new method of handling immediate post-first-reboot icon theme method

This commit is contained in:
crowetic 2025-04-18 16:34:21 -07:00
parent db027a9909
commit aee9587d4c

View File

@ -249,7 +249,7 @@ chmod +x add-qortal-icons-theme.sh
cat > "${HOME}/.config/autostart/apply-qortal-icons.desktop" <<EOL
[Desktop Entry]
Type=Application
Exec=bash -c 'sleep 5 && "${HOME}/add-qortal-icons-theme.sh" && rm -f "${HOME}/.config/autostart/apply-qortal-icons.desktop"'
Exec=gnome-terminal -- ./apply-icon-theme-firstboot.sh
Hidden=false
NoDisplay=false
X-GNOME-Autostart-enabled=true
@ -257,6 +257,26 @@ Name=Apply Qortal Icons
Comment=Applies Qortal icon theme and removes itself
EOL
cat > "$HOME/apply-icon-theme-firstboot.sh" <<'EOL'
#!/bin/bash
sleep 10
echo "APPLYING QORTAL ICON THEME..."
echo
echo "NOTE: THE ICONS IN SOME CASES (SUCH AS MENU BUTTON) MAY NOT WORK IMMEDIATELY, MAY REQUIRE A REBOOT TO DISPLAY PROPERLY..."
sleep 10
echo
echo "executing icon theme script..."
./add-qortal-icons-theme.sh
echo "COMPLETE. You now have 'qortal-hub' 'qortal' 'qortal-ui' and 'qortal-menu-button' through 'qortal-menu-button-4' icons usable throughout system on main account."
echo
echo "(again, menu button icon may require a restart to display properly."
sleep 5
echo "closing in 5 seconds
sleep 4
exit
EOL
#./add-qortal-icons-theme.sh
cd "${HOME}"