diff --git a/common/wrappers/nitrogen b/common/wrappers/nitrogen index b097505..b6761e5 100755 --- a/common/wrappers/nitrogen +++ b/common/wrappers/nitrogen @@ -24,6 +24,7 @@ dbus-send \ string:BackgroundFile \ variant:string:"$bg_path" +# Mabox Colorizer # Generate wallpaper color palette WALLPALDIR="$HOME/.config/colormenu/palettes/wallp" mkdir -p "$WALLPALDIR" @@ -44,55 +45,8 @@ fi # auto generate themes if command -v w2theme &> /dev/null then -## Generate Conkys, Menu themes from wallpaper colors source ~/.config/colorizer/colorizer.conf - - # if enabled if [[ "$wall2themes" == "yes" ]];then - #if not invoked by mb-obthemes - #notify-send.sh "Theme generation" "Enabled" - LOCKED=${wall2themeslock:-false} - if [[ "$LOCKED" != "true" ]];then - #notify-send.sh "Lock" "not set" - # CONKY - case "$wall2themes_conky" in - dark) w2theme conky dark;; - light) w2theme conky light;; - *) - : - ;; - esac - # MENUS - case "$wall2themes_menu" in - dark) w2theme menu dark;; - light) w2theme menu light;; - *) - : - ;; - esac - # ACCENT_COLOR - mapfile -t w < "$WALLPALDIR/$WALLPAPER.clr" - case "$wall2themes_accent" in - dark) - obtctl theme MBcolors - w2theme accent ${w[1]} - ;; - light) - obtctl theme MBcolors - w2theme accent ${w[-1]} - ;; - *) - : - ;; - esac - # PYRADIO THEME - case "$wall2themes_pyradio" in - dark) w2theme pyradio dark;; - light) w2theme pyradio light;; - *) - : - ;; - esac - fi + w2theme colorize fi fi