diff --git a/vanilla/colors.sh b/vanilla/colors.sh new file mode 120000 index 0000000..494655e --- /dev/null +++ b/vanilla/colors.sh @@ -0,0 +1 @@ +../deps/colors.sh/colors.sh \ No newline at end of file diff --git a/vanilla/linux.sh b/vanilla/linux.sh index f9306ce..d6ec579 100755 --- a/vanilla/linux.sh +++ b/vanilla/linux.sh @@ -1,16 +1,22 @@ #!/bin/sh +# include colors library +source ./colors.sh + +# Setting terminal emulator title echo -ne "\033]30;Minecraft Launcher\007" +clear # Launcher title -echo "Minecraft Launcher by iiiypuk" -echo "=============================" +echo -e "${BRIGHT_GREEN_B}Minecraft Launcher by ${BRIGHT_RED_B}iiiypuk${NC}" +echo -e "${BRIGHT_YELLOW_B}=============================${NC}" # Set username -read -p "What username would you like? " player +read -p "$(echo -e ${BRIGHT_CYAN_B}What username would you like?${NC}) " player if [ ! $player ]; then player="Steve" fi +echo '' # A minecraft root directory MC_DIR=$HOME/.minecraft