From 0cf3ca9c2b1ad8d496f678ecc338a264d05c9ea2 Mon Sep 17 00:00:00 2001 From: Daniel Napora Date: Mon, 27 Apr 2026 11:22:41 +0200 Subject: [PATCH] update --- bin/w2theme | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/bin/w2theme b/bin/w2theme index 0cb6d0f..810471d 100755 --- a/bin/w2theme +++ b/bin/w2theme @@ -379,10 +379,10 @@ case "$1" in logo_colors(){ case "$1" in dark) - mabox-logo colors ${w[1]} ${w[-1]} + mabox-logo colors "${w[1]}" "${w[-1]}" ;; light) - mabox-logo colors ${w[-2]} ${w[3]} + mabox-logo colors "${w[-2]}" "${w[3]}" ;; esac } @@ -411,6 +411,7 @@ _THEME_MODIFIED="\nMotywy pokolorowano zgodnie z konfiguracją.\n _NEXT="Następna tapeta" _SETTINGS="Ustawienia" _RESET="Reset" +_DISABLE_NOTIFY="Wyłącz powiadomienia" ;; *) _TITLE="Auto theming applied!" @@ -421,11 +422,12 @@ _THEME_MODIFIED="\nThemes colorized according to configuration.\n _NEXT="Next wallpaper" _SETTINGS="Settings" _RESET="Reset" +_DISABLE_NOTIFY="Turn off notifications" ;; esac 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 () { source ~/.config/colorizer/colorizer.conf @@ -433,7 +435,8 @@ colorize () { 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" fi - # + wall2themes_logo=${wall2themes_logo:-light} + wall2themes_clock=${wall2themes_clock:-light} # Logo SVG case "$wall2themes_logo" in dark) logo_colors dark;;