added colors
This commit is contained in:
parent
582aedfd2e
commit
f17fa75dfb
1
vanilla/colors.sh
Symbolic link
1
vanilla/colors.sh
Symbolic link
@ -0,0 +1 @@
|
|||||||
|
../deps/colors.sh/colors.sh
|
@ -1,16 +1,22 @@
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
|
||||||
|
# include colors library
|
||||||
|
source ./colors.sh
|
||||||
|
|
||||||
|
# Setting terminal emulator title
|
||||||
echo -ne "\033]30;Minecraft Launcher\007"
|
echo -ne "\033]30;Minecraft Launcher\007"
|
||||||
|
clear
|
||||||
|
|
||||||
# Launcher title
|
# Launcher title
|
||||||
echo "Minecraft Launcher by iiiypuk"
|
echo -e "${BRIGHT_GREEN_B}Minecraft Launcher by ${BRIGHT_RED_B}iiiypuk${NC}"
|
||||||
echo "============================="
|
echo -e "${BRIGHT_YELLOW_B}=============================${NC}"
|
||||||
|
|
||||||
# Set username
|
# 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
|
if [ ! $player ]; then
|
||||||
player="Steve"
|
player="Steve"
|
||||||
fi
|
fi
|
||||||
|
echo ''
|
||||||
|
|
||||||
# A minecraft root directory
|
# A minecraft root directory
|
||||||
MC_DIR=$HOME/.minecraft
|
MC_DIR=$HOME/.minecraft
|
||||||
|
Loading…
Reference in New Issue
Block a user