From 57908671ff2f385ad1da9895257980eeede5fbf5 Mon Sep 17 00:00:00 2001 From: Penelope Gwen Date: Mon, 10 Nov 2025 12:15:03 -0800 Subject: [PATCH] New backup 2025-11-10 12:15:03 --- de/home/.config/de-vars/colors/generate.sh | 62 +++---------------- .../qt6ct/colors/colors-251110_120847.conf | 3 + de/home/.config/qt6ct/qt6ct.conf | 2 +- 3 files changed, 11 insertions(+), 56 deletions(-) create mode 100644 de/home/.config/qt6ct/colors/colors-251110_120847.conf diff --git a/de/home/.config/de-vars/colors/generate.sh b/de/home/.config/de-vars/colors/generate.sh index 1f43727..e8ebc55 100755 --- a/de/home/.config/de-vars/colors/generate.sh +++ b/de/home/.config/de-vars/colors/generate.sh @@ -7,15 +7,16 @@ fi source ./active/colors.sh +#change these up theme_color="${de_color_13}" white="${de_color_15}" black="${de_color_0}" alpha="100" #out of 255 +#let the script handle these alpha_hex=$(printf '%x\n' "${alpha}") - -#echo "${alpha_hex}" -#exit 0 +QT6CT_COLORS_DIR="${HOME}/.config/qt6ct/colors" +CONFIG_DATE="$(date +%y%m%d_%H%M%S)" 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' \ @@ -71,72 +72,23 @@ create_qt_conf(){ "#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 \ "active_colors" \ - ${active_colors[@]} -# "#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` + ${active_colors[@]} | tee "${QT6CT_COLORS_DIR}/colors-${CONFIG_DATE}.conf" disabled_colors=() - for color in ${active_colors[@]};do echo "${color}" faded_color=$(pastel mix "${color:3:9}" "${de_color_8}" | pastel format hex | cut -c 2-) disabled_colors+=("${color:0:3}${faded_color}") done - qt_conf_line \ "active_colors" \ - ${disabled_colors[@]} + ${disabled_colors[@]} | tee -a "${QT6CT_COLORS_DIR}/colors-${CONFIG_DATE}.conf" qt_conf_line \ "inactive_colors" \ - ${active_colors[@]} + ${active_colors[@]} | tee -a "${QT6CT_COLORS_DIR}/colors-${CONFIG_DATE}.conf" } create_qt_conf diff --git a/de/home/.config/qt6ct/colors/colors-251110_120847.conf b/de/home/.config/qt6ct/colors/colors-251110_120847.conf new file mode 100644 index 0000000..2a126da --- /dev/null +++ b/de/home/.config/qt6ct/colors/colors-251110_120847.conf @@ -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 diff --git a/de/home/.config/qt6ct/qt6ct.conf b/de/home/.config/qt6ct/qt6ct.conf index 816f380..e116b62 100644 --- a/de/home/.config/qt6ct/qt6ct.conf +++ b/de/home/.config/qt6ct/qt6ct.conf @@ -1,5 +1,5 @@ [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 icon_theme=breeze-dark standard_dialogs=default