Skip to content

Commit

Permalink
more bash
Browse files Browse the repository at this point in the history
  • Loading branch information
thisiscoding1234 authored Jul 5, 2023
1 parent 40a6b29 commit a78ced8
Showing 1 changed file with 16 additions and 9 deletions.
25 changes: 16 additions & 9 deletions os_config.sh
Original file line number Diff line number Diff line change
Expand Up @@ -13,32 +13,38 @@ cd os
cd initrd
echo -e "${UNDER} --- BlueBerryOS configurator --- ${ENDCOLOR}"
echo -e "${BOLD}press enter for the defaults${ENDCOLOR}"
echo after each menu, it will show what you have selected for 5 seconds
sleep 5
clear
echo -e "${UNDER} --- BlueBerryOS configurator --- ${ENDCOLOR}"
echo -e "${BOLD}press enter for the defaults${ENDCOLOR}"
echo -e "${ITAL}-- theme selection --${ENDCOLOR}"
echo what theme would you like? \( check theme guide.md for the option\'s colors and previews of theme\)
echo light or dark?
read mode
if [ "$mode" = "dark" ]; then
echo -e "the dark mode options are: ${CYAN}BLUE, ${GREEN}TERM, ${FAINT}PINK, ${GREY}BORE, ${RED}ANGER, FIRE, ${GREEN}RETRO${ENDCOLOR}"
read theme
if [["${theme,,}" = "blue" || "${theme,,}" = "term" || "${theme,,}" = "pink" || "${theme,,}" = "bore" || "${theme,,}" = "anger" || "${theme,,}" = "fire" || "${theme,,}" = "retro" ]]; then
"${theme^^}"> color.conf
if [ "${theme,,}" = "blue" || "${theme,,}" = "term" || "${theme,,}" = "pink" || "${theme,,}" = "bore" || "${theme,,}" = "anger" || "${theme,,}" = "fire" || "${theme,,}" = "retro" ]; then
echo "${theme^^}"> color.conf
fi
if ["$theme" = ""]; then
"BLUE">color.conf
if [ "$theme" = ""]; then
echo "BLUE">color.conf
fi
fi
if [ "$mode" = "light" ]; then
echo the light mode options are coming soon, so let\'s just go for the default blue dark theme so you don\'t get a defensive BSOD
echo you can always edit your terminal colours to be light mode \( or even dark mode! \) as you want with make term
# this is for later:
# read theme
# "${theme^^}"> color.conf
# echo "${theme^^}"> color.conf
fi
if [ "$mode" = "" ]; then
echo DEAFAULT BLUE\!\!\!\!
"BLUE"> color.conf
echo "BLUE"> color.conf
fi
clear
# sleep 5
# clear
echo -e "${UNDER} --- BlueBerryOS configurator --- ${ENDCOLOR}"
echo -e "${BOLD}press enter for the defaults${ENDCOLOR}"
echo -e "${ITAL}-- User selection --${ENDCOLOR}"
Expand All @@ -47,12 +53,13 @@ read user
"$user" > user.conf
if [ "$mode" = "" ]; then
echo YOU\'RE A BLUEBERRY\!\!\!\!
"blueberry" > user.conf
echo "blueberry" > user.conf
fi
if [ "$mode" = "root" ]; then
echo you like to take risks, don\'t you?
"root"> user.conf
echo "root"> user.conf
fi
sleep 5
clear
echo -e "${UNDER} --- BlueBerryOS configurator --- ${ENDCOLOR}"
echo thank you for using this configurator to make BlueBerryOS work to your preferences!
Expand Down

0 comments on commit a78ced8

Please sign in to comment.