New backup 2025-11-10 12:15:03

This commit is contained in:
Penelope Gwen 2025-11-10 12:15:03 -08:00
parent d2e3072204
commit 57908671ff
3 changed files with 11 additions and 56 deletions

View file

@ -7,15 +7,16 @@ fi
source ./active/colors.sh source ./active/colors.sh
#change these up
theme_color="${de_color_13}" theme_color="${de_color_13}"
white="${de_color_15}" white="${de_color_15}"
black="${de_color_0}" black="${de_color_0}"
alpha="100" #out of 255 alpha="100" #out of 255
#let the script handle these
alpha_hex=$(printf '%x\n' "${alpha}") alpha_hex=$(printf '%x\n' "${alpha}")
QT6CT_COLORS_DIR="${HOME}/.config/qt6ct/colors"
#echo "${alpha_hex}" CONFIG_DATE="$(date +%y%m%d_%H%M%S)"
#exit 0
qt_conf_line(){ qt_conf_line(){
printf '%s=%s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s\n' \ printf '%s=%s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s\n' \
@ -71,72 +72,23 @@ create_qt_conf(){
"#e1${de_color_13}" "#e1${de_color_13}"
) )
#color definitions
# window_text=$
# button_background=
# bright=
# less_bright=
# dark=
# less_dark=
# normal_text=
# bright_text=
# button_text=
# normal_background=
# window=
# shadow=
# highlight=
# highlighted_text=
# link=
# visited_link=
# alternate_background=
# default=
# tooltip_background=
# tooltip_text=
# placeholder_text=
# accent=
# printf '%s=%s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s\n' \
qt_conf_line \ qt_conf_line \
"active_colors" \ "active_colors" \
${active_colors[@]} ${active_colors[@]} | tee "${QT6CT_COLORS_DIR}/colors-${CONFIG_DATE}.conf"
# "#ff${de_color_13}" `#window text` \
# "#64${de_color_0}" `#button background` \
# "#64${de_color_15}" `#bright` \
# "#64${de_color_7}" `#less bright` \
# "#64${de_color_8}" `#dark` \
# "#64${de_color_7}" `#less dark` \
# "#ff${de_color_15}" `#normal text` \
# "#ff${de_color_15}" `#bright text` \
# "#ff${de_color_15}" `#button text` \
# "#64${de_color_13}" `#normal background` \
# "#64${de_color_13}" `#window` \
# "#64${de_color_15}" `#shadow` \
# "#64${de_color_5}" `#highlight` \
# "#ff${de_color_1}" `#highlighted text` \
# "#ff${de_color_5}" `#link` \
# "#ff${de_color_9}" `#visited link` \
# "#19${de_color_8}" `#alternate background` \
# "#ff${de_color_15}" `#default` \
# "#64${de_color_0}" `#tooltip background` \
# "#ff${de_color_15}" `#tooltip text` \
# "#80${de_color_15}" `#placeholder text` \
# "#e1${de_color_13}" `#accent`
disabled_colors=() disabled_colors=()
for color in ${active_colors[@]};do for color in ${active_colors[@]};do
echo "${color}" echo "${color}"
faded_color=$(pastel mix "${color:3:9}" "${de_color_8}" | pastel format hex | cut -c 2-) faded_color=$(pastel mix "${color:3:9}" "${de_color_8}" | pastel format hex | cut -c 2-)
disabled_colors+=("${color:0:3}${faded_color}") disabled_colors+=("${color:0:3}${faded_color}")
done done
qt_conf_line \ qt_conf_line \
"active_colors" \ "active_colors" \
${disabled_colors[@]} ${disabled_colors[@]} | tee -a "${QT6CT_COLORS_DIR}/colors-${CONFIG_DATE}.conf"
qt_conf_line \ qt_conf_line \
"inactive_colors" \ "inactive_colors" \
${active_colors[@]} ${active_colors[@]} | tee -a "${QT6CT_COLORS_DIR}/colors-${CONFIG_DATE}.conf"
} }
create_qt_conf create_qt_conf

View file

@ -0,0 +1,3 @@
active_colors=#ffffafaf, #64111317, #64e4e4e4, #64d0d0d0, #64576176, #64d0d0d0, #ffe4e4e4, #ffe4e4e4, #ffe4e4e4, #64ffafaf, #64ffafaf, #64e4e4e4, #64d7afaf, #ffd68787, #ffd7afaf, #ffd75f87, #19576176, #ffe4e4e4, #64111317, #ffe4e4e4, #80e4e4e4, #e1ffafaf
active_colors=#ffab8792, #64323844, #649ba0ab, #649297a2, #64576176, #649297a2, #ff9ba0ab, #ff9ba0ab, #ff9ba0ab, #64ab8792, #64ab8792, #649ba0ab, #64978792, #ff98747f, #ff978792, #ff9a637e, #19576176, #ff9ba0ab, #64323844, #ff9ba0ab, #809ba0ab, #e1ab8792
inactive_colors=#ffffafaf, #64111317, #64e4e4e4, #64d0d0d0, #64576176, #64d0d0d0, #ffe4e4e4, #ffe4e4e4, #ffe4e4e4, #64ffafaf, #64ffafaf, #64e4e4e4, #64d7afaf, #ffd68787, #ffd7afaf, #ffd75f87, #19576176, #ffe4e4e4, #64111317, #ffe4e4e4, #80e4e4e4, #e1ffafaf

View file

@ -1,5 +1,5 @@
[Appearance] [Appearance]
color_scheme_path=/usr/local/share/qt6ct/colors/darker_pink.conf color_scheme_path=/home/penelope/.config/qt6ct/colors/colors-251110_120847.conf
custom_palette=true custom_palette=true
icon_theme=breeze-dark icon_theme=breeze-dark
standard_dialogs=default standard_dialogs=default