This commit is contained in:
2026-04-27 11:22:41 +02:00
parent c6dd951352
commit 0cf3ca9c2b

View File

@@ -379,10 +379,10 @@ case "$1" in
logo_colors(){ logo_colors(){
case "$1" in case "$1" in
dark) dark)
mabox-logo colors ${w[1]} ${w[-1]} mabox-logo colors "${w[1]}" "${w[-1]}"
;; ;;
light) light)
mabox-logo colors ${w[-2]} ${w[3]} mabox-logo colors "${w[-2]}" "${w[3]}"
;; ;;
esac esac
} }
@@ -411,6 +411,7 @@ _THEME_MODIFIED="\nMotywy pokolorowano zgodnie z konfiguracją.\n
_NEXT="Następna tapeta" _NEXT="Następna tapeta"
_SETTINGS="Ustawienia" _SETTINGS="Ustawienia"
_RESET="Reset" _RESET="Reset"
_DISABLE_NOTIFY="Wyłącz powiadomienia"
;; ;;
*) *)
_TITLE="Auto theming applied!" _TITLE="Auto theming applied!"
@@ -421,11 +422,12 @@ _THEME_MODIFIED="\nThemes colorized according to configuration.\n
_NEXT="Next wallpaper" _NEXT="Next wallpaper"
_SETTINGS="Settings" _SETTINGS="Settings"
_RESET="Reset" _RESET="Reset"
_DISABLE_NOTIFY="Turn off notifications"
;; ;;
esac esac
notify-send.sh -t 5000 -i ~/.config/mabox/wpicon_wide.png --replace-file=/tmp/colorize_notid "$_TITLE" "$_THEME_MODIFIED" \ notify-send.sh -t 5000 -i ~/.config/mabox/wpicon_wide.png --replace-file=/tmp/colorize_notid "$_TITLE" "$_THEME_MODIFIED" \
-o "$_NEXT:mbwallpaper -o" -o "$_SETTINGS:jgwallpaperchanger -s autoth" -o "$_RESET:w2theme resetall" -o "DISABLE NOTIFY:mb-setvar autotheming_notify=false" -o "$_NEXT:mbwallpaper -o" -o "$_SETTINGS:jgwallpaperchanger -s autoth" -o "$_RESET:w2theme resetall" -o "$_DISABLE NOTIFY:mb-setvar autotheming_notify=false"
} }
colorize () { colorize () {
source ~/.config/colorizer/colorizer.conf source ~/.config/colorizer/colorizer.conf
@@ -433,7 +435,8 @@ colorize () {
if [[ "$autotheming_notify" == "true" ]];then if [[ "$autotheming_notify" == "true" ]];then
notify-send.sh -t 5000 -i ~/.config/mabox/wpicon_wide.png --replace-file=/tmp/colorize_notid "Mabox Auto theming in progress..." "\n\nPlease wait... a few seconds...\n\n" notify-send.sh -t 5000 -i ~/.config/mabox/wpicon_wide.png --replace-file=/tmp/colorize_notid "Mabox Auto theming in progress..." "\n\nPlease wait... a few seconds...\n\n"
fi fi
# wall2themes_logo=${wall2themes_logo:-light}
wall2themes_clock=${wall2themes_clock:-light}
# Logo SVG # Logo SVG
case "$wall2themes_logo" in case "$wall2themes_logo" in
dark) logo_colors dark;; dark) logo_colors dark;;