update
This commit is contained in:
11
bin/w2theme
11
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;;
|
||||
|
||||
Reference in New Issue
Block a user