Make default startup script more compatible

Signed-off-by: AnErrupTion <anerruption@disroot.org>
This commit is contained in:
AnErrupTion
2026-02-12 17:10:52 +01:00
parent 5a4605ffb6
commit b01e4afc79

View File

@@ -6,35 +6,32 @@
# Uncomment the example below for an example of changing the default TTY colors to an alternitive palette on linux # Uncomment the example below for an example of changing the default TTY colors to an alternitive palette on linux
# Colors are in red/green/blue hex (the current colors are a brighter palette than default) # Colors are in red/green/blue hex (the current colors are a brighter palette than default)
# #
#if [ "$TERM" = "linux" ]; then # if [ "$TERM" = "linux" ]; then
# BLACK="232323" # BLACK="232323"
# DARK_RED="D75F5F" # DARK_RED="D75F5F"
# DARK_GREEN="87AF5F" # DARK_GREEN="87AF5F"
# DARK_YELLOW="D7AF87" # DARK_YELLOW="D7AF87"
# DARK_BLUE="8787AF" # DARK_BLUE="8787AF"
# DARK_MAGENTA="BD53A5" # DARK_MAGENTA="BD53A5"
# DARK_CYAN="5FAFAF" # DARK_CYAN="5FAFAF"
# LIGHT_GRAY="E5E5E5" # LIGHT_GRAY="E5E5E5"
# DARK_GRAY="2B2B2B" # DARK_GRAY="2B2B2B"
# RED="E33636" # RED="E33636"
# GREEN="98E34D" # GREEN="98E34D"
# YELLOW="FFD75F" # YELLOW="FFD75F"
# BLUE="7373C9" # BLUE="7373C9"
# MAGENTA="D633B2" # MAGENTA="D633B2"
# CYAN="44C9C9" # CYAN="44C9C9"
# WHITE="FFFFFF" # WHITE="FFFFFF"
#
# COLORS="${BLACK} ${DARK_RED} ${DARK_GREEN} ${DARK_YELLOW} ${DARK_BLUE} ${DARK_MAGENTA} ${DARK_CYAN} ${LIGHT_GRAY} ${DARK_GRAY} ${RED} ${GREEN} ${YELLOW} ${BLUE} ${MAGENTA} ${CYAN} ${WHITE}" # COLORS="${BLACK} ${DARK_RED} ${DARK_GREEN} ${DARK_YELLOW} ${DARK_BLUE} ${DARK_MAGENTA} ${DARK_CYAN} ${LIGHT_GRAY} ${DARK_GRAY} ${RED} ${GREEN} ${YELLOW} ${BLUE} ${MAGENTA} ${CYAN} ${WHITE}"
#
# control_palette_str="\e]P" # i=0
# # while [ $i -lt 16 ]; do
# i=0 # printf "\033]P%x%s" ${i} "$(echo "$COLORS" | cut -d ' ' -f$(( i + 1)))"
# while [ $i -lt 16 ]
# do # i=$(( i + 1 ))
# echo -en "${control_palette_str}$( printf "%x" ${i} )$(echo $COLORS | cut -d ' ' -f`expr $i + 1`)" # done
#
# i=`expr $i + 1` # clear # for fixing background artifacting after changing color
# done # fi
#
# clear # for fixing background artifacting after changing color
#fi