feat: add voron toolhead theme to mainsail theme installer

This commit is contained in:
th33xitus
2021-06-22 12:07:27 +02:00
parent a9f23e9b23
commit b47a9cf7ed
2 changed files with 19 additions and 0 deletions

View File

@@ -70,6 +70,23 @@ ms_theme_cyberpunk(){
[ -d "$THEME_PATH/.theme" ] && rm -rf "$THEME_PATH/.theme"
cd $THEME_PATH && git clone "$THEME_URL" ".theme"
ok_msg "Theme installation complete!"
ok_msg "Please remember to delete your browser cache!\n"
}
ms_theme_voron_toolhead(){
THEME_URL="https://github.com/eriroh/Mainsail-x-Voron-Toolhead-Theme"
### check and select printer if there is more than 1
check_select_printer
### download all files
status_msg "Installing Mainsail x Voron Toolhead theme ..."
status_msg "Please wait ..."
[ -d "$THEME_PATH/.theme" ] && rm -rf "$THEME_PATH/.theme"
cd $THEME_PATH && git clone "$THEME_URL" ".theme"
ok_msg "Theme installation complete!"
ok_msg "Please remember to delete your browser cache!\n"
}