added dark theme as last option

This commit is contained in:
sullivan1337 2022-07-04 17:20:56 -07:00 committed by GitHub
parent 995346d2fc
commit 553f46ef5d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 8 additions and 0 deletions

View File

@ -113,5 +113,13 @@ apt-get -y dist-upgrade &>/dev/null
msg_ok "Updated Proxmox VE 7"
fi
read -r -p "Enable dark theme for the Proxmox Web UI? <Y/n> " prompt
if [[ $prompt == "y" || $prompt == "Y" || $prompt == "yes" || $prompt == "Yes" ]]
then
msg_info "Enabling UI dark theme"
bash <(curl -s https://raw.githubusercontent.com/Weilbyte/PVEDiscordDark/master/PVEDiscordDark.sh ) install
msg_ok "Web UI dark theme enabled"
fi
sleep 2
msg_ok "Finished Post Install Routines"