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,7 +6,7 @@
# 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"
@@ -23,18 +23,15 @@
# 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 # i=0
# while [ $i -lt 16 ] # while [ $i -lt 16 ]; do
# do # printf "\033]P%x%s" ${i} "$(echo "$COLORS" | cut -d ' ' -f$(( i + 1)))"
# echo -en "${control_palette_str}$( printf "%x" ${i} )$(echo $COLORS | cut -d ' ' -f`expr $i + 1`)"
# # i=$(( i + 1 ))
# i=`expr $i + 1`
# done # done
#
# clear # for fixing background artifacting after changing color # clear # for fixing background artifacting after changing color
#fi # fi