[bug] remove some hardcoded paths

This commit is contained in:
Christian Schendel 2025-12-07 08:39:05 +00:00
parent 89bcacbb4d
commit 20cfec138f
Signed by: doppelhelix
GPG key ID: 5874D2437CD5BBB3

View file

@ -187,18 +187,18 @@ switch-dark-light() {
if [[ ! $gtk_color_scheme == ''\''prefer-dark'\''' ]]; then if [[ ! $gtk_color_scheme == ''\''prefer-dark'\''' ]]; then
gtk_color_scheme=prefer-dark gtk_color_scheme=prefer-dark
gtk_prefer_dark_theme=true gtk_prefer_dark_theme=true
gtk_theme=adw-gtk3-dark gtk_theme=$gtk_theme_dark
icon_theme=Papirus-Dark icon_theme=$icon_theme_dark
qt_custom_palette=true qt_custom_palette=true
qt_color_scheme_path=/usr/share/color-schemes/BreezeDark.colors qt_color_scheme_path=$kcolorscheme_dark
_set_theme _set_theme
else else
gtk_color_scheme=default gtk_color_scheme=default
gtk_prefer_dark_theme=false gtk_prefer_dark_theme=false
gtk_theme=adw-gtk3 gtk_theme=$gtk_theme_light
icon_theme=Papirus icon_theme=$icon_theme_light
qt_custom_palette=true qt_custom_palette=true
qt_color_scheme_path=/usr/share/color-schemes/BreezeLight.colors qt_color_scheme_path=$kcolorscheme_light
_set_theme _set_theme
fi fi
} }