lot of polishing

This commit is contained in:
Daniel Napora 2023-05-10 23:50:21 +02:00
parent 9f859f2187
commit 5a594efb44
9 changed files with 210 additions and 137 deletions

View File

@ -109,6 +109,7 @@ case "$LANG" in
GENMENU="Pokolorować menu i panele?" GENMENU="Pokolorować menu i panele?"
GENCONKY="Pokolorować Conky?" GENCONKY="Pokolorować Conky?"
GENPYRADIO="Pokolorować PyRadio?" GENPYRADIO="Pokolorować PyRadio?"
GRADIENTS_ACT="Działanie gradientów w menu gł."
EDITCONF="Edytuj plik konfiguracyjny" EDITCONF="Edytuj plik konfiguracyjny"
RESET="Resetuj ustawienia Colorizera" RESET="Resetuj ustawienia Colorizera"
YES="Tak" YES="Tak"
@ -148,7 +149,7 @@ case "$LANG" in
RES_CONKY="Conky" RES_CONKY="Conky"
RES_MENU="Menu i Paneli" RES_MENU="Menu i Paneli"
RES_ALL="Wszystko <i>(OB, menu, conky)</i>" RES_ALL="Wszystko <i>(OB, menu, conky)</i>"
COLORIZE="Pokoloruj..." COLORIZE="Szybko Pokoloruj lub Resetuj..."
;; ;;
*) *)
REGENERATE="(Re)Generate from wallpaper colors..." REGENERATE="(Re)Generate from wallpaper colors..."
@ -203,6 +204,7 @@ case "$LANG" in
GENMENU="Colorize Menus and Panels?" GENMENU="Colorize Menus and Panels?"
GENCONKY="Colorize Conky?" GENCONKY="Colorize Conky?"
GENPYRADIO="Colorize PyRadio?" GENPYRADIO="Colorize PyRadio?"
GRADIENTS_ACT="Gradients in Rootmenu actions"
EDITCONF="Edit config file" EDITCONF="Edit config file"
RESET="Reset to defaults" RESET="Reset to defaults"
YES="Yes" YES="Yes"
@ -231,8 +233,8 @@ case "$LANG" in
USERDIR_NOT_EXIST="directory does not exist" USERDIR_NOT_EXIST="directory does not exist"
CREATE_USERDIR="Create directory" CREATE_USERDIR="Create directory"
ROOTMENU_COLORS_ACTION="Rootmenu Colors Action" ROOTMENU_COLORS_ACTION="Rootmenu Colors Action"
ACCENT="<b>accent</b> - chenge accent color" ACCENT="<b>accent</b> - change accent color"
SELECT="<b>select</b> - select action" SELECT="<b>select</b> - select action from submenu"
DIFF_CONKY_COLORS="Different colors for each Conky" DIFF_CONKY_COLORS="Different colors for each Conky"
HELP="Main Window and Help" HELP="Main Window and Help"
RESET_COLORS="Reset Colors" RESET_COLORS="Reset Colors"
@ -242,7 +244,7 @@ case "$LANG" in
RES_CONKY="Conkies" RES_CONKY="Conkies"
RES_MENU="Menus / Panels" RES_MENU="Menus / Panels"
RES_ALL="All <i>(OB, menus, conky)</i>" RES_ALL="All <i>(OB, menus, conky)</i>"
COLORIZE="Colorize..." COLORIZE="Quickly Colorize or Reset..."
;; ;;
esac esac
@ -298,8 +300,8 @@ out+=("^sep()")
out+=(" $COLORIZE,^pipe(randomizer c)") out+=(" $COLORIZE,^pipe(randomizer c)")
out+=("^sep($MODULES)") out+=("^sep($MODULES)")
out+=("$OBTHEME,^pipe(colorizer-ob)") out+=("$OBTHEME,^pipe(colorizer-ob)")
out+=("Conky Manager,^pipe(colorizer-conky)")
out+=("$MENUPANELS,^pipe(colorizer-menus)") out+=("$MENUPANELS,^pipe(colorizer-menus)")
out+=("Conky Manager,^pipe(colorizer-conky)")
#out+=("TINT2,^pipe(colorizer-tint2)") #out+=("TINT2,^pipe(colorizer-tint2)")
#out+=("Systray HW monitor,^pipe(colorizer-phwmon)") #out+=("Systray HW monitor,^pipe(colorizer-phwmon)")
@ -519,7 +521,7 @@ done
##out+=(" $EDIT_PALETTE,xdg-open $WALLPALDIR/$WALLPAPER.clr") ##out+=(" $EDIT_PALETTE,xdg-open $WALLPALDIR/$WALLPAPER.clr")
# Przerobić na submenu # Przerobić na submenu
#if [[ "$wall2themes" == "yes" ]];then if [[ "$wall2themes" == "yes" ]];then
out+=("^sep($RANDWALL)") out+=("^sep($RANDWALL)")
syswallp=$(shopt -s nullglob ; set -- /usr/share/backgrounds/*.{jpg,JPG,jpeg,JPEG,png,PNG} ; echo $#) syswallp=$(shopt -s nullglob ; set -- /usr/share/backgrounds/*.{jpg,JPG,jpeg,JPEG,png,PNG} ; echo $#)
out+=(" $SYSWALLPAPER (<small>${syswallp}</small>),nitrogen --random /usr/share/backgrounds --set-scaled --save;colorizer -s") out+=(" $SYSWALLPAPER (<small>${syswallp}</small>),nitrogen --random /usr/share/backgrounds --set-scaled --save;colorizer -s")
@ -529,13 +531,15 @@ out+=(" $USERWALLPAPER (<small>${userwallp}</small>),nitrogen --random ${use
fi fi
out+=("^sep()") out+=("^sep()")
out+=("$WALLPAPERS,^checkout(wallpapersettings)") out+=("$WALLPAPERS,^checkout(wallpapersettings)")
#fi fi
if [[ "$gradient_obtheme" == "yes" || "$gradient_menu" == "yes" ]];then if [[ "$gradient_obtheme" == "yes" || "$gradient_menu" == "yes" ]];then
[[ "$gradient_obtheme" == "yes" ]] && OBGRAD="OB" || OBGRAD="" [[ "$gradient_obtheme" == "yes" ]] && OBGRAD="OB" || OBGRAD=""
[[ "$gradient_menu" == "yes" ]] && MENUGRAD="menus" || MENUGRAD="" [[ "$gradient_menu" == "yes" ]] && MENUGRAD="menus" || MENUGRAD=""
out+=("^sep($GRADIENTS <small>$OBGRAD $MENUGRAD</small>)") out+=("^sep($GRADIENTS <small>$OBGRAD $MENUGRAD</small>)")
out+=("<tt><span bgcolor='#16a084'> </span><span bgcolor='#43a480'> </span><span bgcolor='#5da97b'> </span><span bgcolor='#72ad77'> </span><span bgcolor='#84b171'> </span><span bgcolor='#95b66c'> </span><span bgcolor='#a5ba66'> </span><span bgcolor='#b5be61'> </span><span bgcolor='#c3c15a'> </span><span bgcolor='#d1c753'> </span><span bgcolor='#dfc94c'> </span><span bgcolor='#edce44'> </span><span bgcolor='#f4d03f'> </span></tt> $PRE_GRADIENTS,^pipe(mbgrad)") out+=("<tt><span bgcolor='#16a084'> </span><span bgcolor='#43a480'> </span><span bgcolor='#5da97b'> </span><span bgcolor='#72ad77'> </span><span bgcolor='#84b171'> </span><span bgcolor='#95b66c'> </span><span bgcolor='#a5ba66'> </span><span bgcolor='#b5be61'> </span><span bgcolor='#c3c15a'> </span><span bgcolor='#d1c753'> </span><span bgcolor='#dfc94c'> </span><span bgcolor='#edce44'> </span><span bgcolor='#f4d03f'> </span></tt> $PRE_GRADIENTS,^pipe(mbgrad)")
fi fi
### RESET ACTIONS (replaced by Randomizer) ### RESET ACTIONS (replaced by Randomizer)
#out+=("^sep($RESET_COLORS)") #out+=("^sep($RESET_COLORS)")
#out+=("$RESET_CHOOSE,^checkout(resetroot)") #out+=("$RESET_CHOOSE,^checkout(resetroot)")
@ -557,11 +561,13 @@ fi
out2+=("^tag(settings)") out2+=("^tag(settings)")
out2+=("^sep($AUTOGEN_THEMES)") out2+=("^sep($AUTOGEN_THEMES)")
out2+=(" $AUTOGEN_THEMES [ <b>${wall2themes}</b> ],^checkout(autogen)") [[ "$wall2themes" = "yes" ]] && out2+=("<big></big> $AUTOGEN_THEMES,mb-setvar wall2themes=no $CNF_FILE;colorizer -s") || out2+=("<big></big> $AUTOGEN_THEMES,mb-setvar wall2themes=yes $CNF_FILE;colorizer -s")
out3+=("^tag(autogen")
out3+=("^sep($GENERATETHEMES)") #out2+=(" $AUTOGEN_THEMES [ <b>${wall2themes}</b> ],^checkout(autogen)")
out3+=("$YES,mb-setvar wall2themes=yes $CNF_FILE;colorizer -s") #out3+=("^tag(autogen")
out3+=("$NO,mb-setvar wall2themes=no $CNF_FILE;colorizer -s") #out3+=("^sep($GENERATETHEMES)")
#out3+=("$YES,mb-setvar wall2themes=yes $CNF_FILE;colorizer -s")
#out3+=("$NO,mb-setvar wall2themes=no $CNF_FILE;colorizer -s")
out2+=("^sep()") out2+=("^sep()")
out2+=("$OBTHEME [ <b>${wall2themes_ob}</b> ],^checkout(ob)") out2+=("$OBTHEME [ <b>${wall2themes_ob}</b> ],^checkout(ob)")
@ -627,18 +633,21 @@ out3+=("^sep(<i>${user_wallpapers_dir} - $USERDIR_NOT_EXIST</i>")
out3+=(" $CREATE_USERDIR,mkdir -p ${user_wallpapers_dir};colorizer -s") out3+=(" $CREATE_USERDIR,mkdir -p ${user_wallpapers_dir};colorizer -s")
out3+=(" $CHANGE ($EDITCONF),xdg-open $CNF_FILE") out3+=(" $CHANGE ($EDITCONF),xdg-open $CNF_FILE")
fi fi
out2+=("^sep($GRADIENTS)") out2+=("^sep($GRADIENTS_ACT)")
out2+=("$GRAD_OB [ <b>${gradient_obtheme}</b> ],^checkout(grad_ob)") [[ "$gradient_obtheme" == "yes" ]] && out2+=("<big></big> $GRAD_OB,mb-setvar gradient_obtheme=no $CNF_FILE;colorizer -s") || out2+=("<big></big> $GRAD_OB,mb-setvar gradient_obtheme=yes $CNF_FILE;colorizer -s")
out3+=("^tag(grad_ob") #out2+=("$GRAD_OB [ <b>${gradient_obtheme}</b> ],^checkout(grad_ob)")
out3+=("^sep($GRAD_OB)") #out3+=("^tag(grad_ob")
out3+=("$YES,mb-setvar gradient_obtheme=yes $CNF_FILE;colorizer -s") #out3+=("^sep($GRAD_OB)")
out3+=("$NO,mb-setvar gradient_obtheme=no $CNF_FILE;colorizer -s") #out3+=("$YES,mb-setvar gradient_obtheme=yes $CNF_FILE;colorizer -s")
out2+=("$GRAD_MENU [ <b>${gradient_menu}</b> ],^checkout(grad_menu)") #out3+=("$NO,mb-setvar gradient_obtheme=no $CNF_FILE;colorizer -s")
out3+=("^tag(grad_menu")
out3+=("^sep($GRAD_MENU)") [[ "$gradient_menu" == "yes" ]] && out2+=("<big></big> $GRAD_MENU,mb-setvar gradient_menu=no $CNF_FILE;colorizer -s") || out2+=("<big></big> $GRAD_MENU,mb-setvar gradient_menu=yes $CNF_FILE;colorizer -s")
out3+=("$YES,mb-setvar gradient_menu=yes $CNF_FILE;colorizer -s") #out2+=("$GRAD_MENU [ <b>${gradient_menu}</b> ],^checkout(grad_menu)")
out3+=("$NO,mb-setvar gradient_menu=no $CNF_FILE;colorizer -s") #out3+=("^tag(grad_menu")
out2+=("$GRAD_CONKY [ <b>${gradient_conkies}</b> ],^checkout(grad_conky)") #out3+=("^sep($GRAD_MENU)")
#out3+=("$YES,mb-setvar gradient_menu=yes $CNF_FILE;colorizer -s")
#out3+=("$NO,mb-setvar gradient_menu=no $CNF_FILE;colorizer -s")
#out2+=("$GRAD_CONKY [ <b>${gradient_conkies}</b> ],^checkout(grad_conky)")
#out3+=("^tag(grad_conky") #out3+=("^tag(grad_conky")
#out3+=("^sep($GRAD_CONKY)") #out3+=("^sep($GRAD_CONKY)")
#out3+=("$YES,mb-setvar gradient_conkies=yes $CNF_FILE;colorizer -s") #out3+=("$YES,mb-setvar gradient_conkies=yes $CNF_FILE;colorizer -s")
@ -662,17 +671,16 @@ out3+=("^tag(csize)")
out3+=("^sep($HEIGHT)") out3+=("^sep($HEIGHT)")
out3+=("$FULL,mb-setvar colorizer_size=full $CNF_FILE;colorizer -s") out3+=("$FULL,mb-setvar colorizer_size=full $CNF_FILE;colorizer -s")
out3+=("$COMPACT,mb-setvar colorizer_size=compact $CNF_FILE;colorizer -s") out3+=("$COMPACT,mb-setvar colorizer_size=compact $CNF_FILE;colorizer -s")
out2+=("$SHOW_RELATED [ <b>${related_tools}</b> ],^checkout(related)") [[ "$related_tools" == "show" ]] && out2+=("<big></big> $SHOW_RELATED,^checkout(related)") || out2+=("<big></big> $SHOW_RELATED,^checkout(related)")
out3+=("^tag(related)") out3+=("^tag(related)")
out3+=("^sep($SHOW_RELATED)") out3+=("^sep($SHOW_RELATED)")
out3+=("$SHOW,mb-setvar related_tools=show $CNF_FILE;colorizer -s") [[ "$related_tools" == "show" ]] && out3+=("<big>綠</big> $SHOW,colorizer -s" "<big>祿</big> $HIDE,mb-setvar related_tools=hide $CNF_FILE;colorizer -s") || out3+=("<big>祿</big> $SHOW,mb-setvar related_tools=show $CNF_FILE;colorizer -s" "<big>綠</big> $HIDE,colorizer -s")
out3+=("$HIDE,mb-setvar related_tools=hide $CNF_FILE;colorizer -s")
out3+=("^sep()") out3+=("^sep()")
out3+=(" $EDIT_RELATED,xdg-open $CUSTOM_COMMANDS_FILE") out3+=(" $EDIT_RELATED,xdg-open $CUSTOM_COMMANDS_FILE")
out3+=(" $RESET_RELATED,rm $CUSTOM_COMMANDS_FILE;colorizer -s") out3+=("󰁯 $RESET_RELATED,rm $CUSTOM_COMMANDS_FILE;colorizer -s")
out2+=("^sep()") out2+=("^sep()")
out2+=(" $EDITCONF,xdg-open $CNF_FILE") out2+=(" $EDITCONF,xdg-open $CNF_FILE")
out2+=(" $RESET,rm $CNF_FILE;colorizer -s") out2+=("󰁯 $RESET,rm $CNF_FILE;colorizer -s")
### RUN ### RUN

View File

@ -180,9 +180,6 @@ out2+=("wide,jgctl tweak padding wide;$me")
out2+=("normal,jgctl tweak padding normal;$me") out2+=("normal,jgctl tweak padding normal;$me")
out2+=("tight,jgctl tweak padding tight;$me") out2+=("tight,jgctl tweak padding tight;$me")
out+=("^sep($GENERATEFROMWP)")
out+=("$LIGHTBG,w2theme menu light;$me")
out+=("$DARKBG,w2theme menu dark;$me")
out+=("^sep(Menu)") out+=("^sep(Menu)")
out+=("<tt><small>$(printf '%3s' "$MBGA")</small> <span bgcolor='$MBG' bgalpha='${MBGA/#[0]/1}%'> </span><span bgcolor='$MBG'> </span></tt> $COLOR_MENU_BG,^pipe(mbclr '$MBG' jgctl color_menu_bg '${COLOR_MENU_BG}' '$me')") out+=("<tt><small>$(printf '%3s' "$MBGA")</small> <span bgcolor='$MBG' bgalpha='${MBGA/#[0]/1}%'> </span><span bgcolor='$MBG'> </span></tt> $COLOR_MENU_BG,^pipe(mbclr '$MBG' jgctl color_menu_bg '${COLOR_MENU_BG}' '$me')")
out+=("<tt><small>$(printf '%3s' "$MBGTA")</small> <span bgcolor='$MBGT' bgalpha='${MBGTA/#[0]/1}%'> </span><span bgcolor='$MBGT'> </span></tt> $COLOR_MENU_BG_TO,^pipe(mbclr '$MBGT' jgctl color_menu_bg_to '${COLOR_MENU_BG_TO}' '$me')") out+=("<tt><small>$(printf '%3s' "$MBGTA")</small> <span bgcolor='$MBGT' bgalpha='${MBGTA/#[0]/1}%'> </span><span bgcolor='$MBGT'> </span></tt> $COLOR_MENU_BG_TO,^pipe(mbclr '$MBGT' jgctl color_menu_bg_to '${COLOR_MENU_BG_TO}' '$me')")
@ -279,7 +276,9 @@ out2+=("4,jgctl item_radius 4;$me")
out2+=("5,jgctl item_radius 5;$me") out2+=("5,jgctl item_radius 5;$me")
out2+=("6,jgctl item_radius 6;$me") out2+=("6,jgctl item_radius 6;$me")
out+=("^sep($GENERATEFROMWP)")
out+=("$LIGHTBG,w2theme menu light;$me")
out+=("$DARKBG,w2theme menu dark;$me")
out+=("^sep($MORE_MENU_SETTINGS)") out+=("^sep($MORE_MENU_SETTINGS)")
out+=(" $GLOBAL_MENU_SETTINGS,jgmenusettings-pipe -c") out+=(" $GLOBAL_MENU_SETTINGS,jgmenusettings-pipe -c")

View File

@ -205,9 +205,7 @@ getvalues () {
getvalues getvalues
out+=("^sep($OBTHEME_LBL: <i>$OBTHEME</i>)") out+=("^sep($OBTHEME_LBL: <i>$OBTHEME</i>)")
out+=("^sep(<i>$GENERATEFROMWP</i>)")
out+=("$LIGHTBG,w2theme ob light;$me")
out+=("$DARKBG,w2theme ob dark;$me")
out+=("^sep($TITLEBAR)") out+=("^sep($TITLEBAR)")
out+=("<tt><span bgcolor='$ABG'> </span></tt> $ACTIVE_BG,^pipe(mbclr '$ABG' obtctl clractivebg_only '${ACTIVE_BG}' '$me')") out+=("<tt><span bgcolor='$ABG'> </span></tt> $ACTIVE_BG,^pipe(mbclr '$ABG' obtctl clractivebg_only '${ACTIVE_BG}' '$me')")
[[ ! -z "$ABGTO" ]] && out+=("<tt><span bgcolor='$ABG'> </span><span bgcolor='$ABGTO'> </span></tt> $ACTIVE_BG_TO,^pipe(mbclr '$ABGTO' obtctl clractivebgto '${ACTIVE_BG_TO}' '$me')") [[ ! -z "$ABGTO" ]] && out+=("<tt><span bgcolor='$ABG'> </span><span bgcolor='$ABGTO'> </span></tt> $ACTIVE_BG_TO,^pipe(mbclr '$ABGTO' obtctl clractivebgto '${ACTIVE_BG_TO}' '$me')")
@ -234,6 +232,11 @@ out+=("$BORDER [ <b>$BORD</b> ],^checkout(border)")
out+=("$HANDLEWIDTH [ <b>$HANDLE</b> ],^checkout(handlewidth)") out+=("$HANDLEWIDTH [ <b>$HANDLE</b> ],^checkout(handlewidth)")
out+=("$ACTIVEHANDLE? [ <b>$AHANDLE</b> ],^checkout(handle)") out+=("$ACTIVEHANDLE? [ <b>$AHANDLE</b> ],^checkout(handle)")
out+=("^sep(<i>$GENERATEFROMWP</i>)")
out+=("$LIGHTBG,w2theme ob light;$me")
out+=("$DARKBG,w2theme ob dark;$me")
if [ -f "${THEMERC}.bak" ]; then if [ -f "${THEMERC}.bak" ]; then
out+=("^sep($RESET)") out+=("^sep($RESET)")

View File

@ -27,12 +27,15 @@ case "$LANG" in
OPACITY="Nieprzezroczystość" OPACITY="Nieprzezroczystość"
SHADES_OF_CURRENT="Oblicz z bieżącego" SHADES_OF_CURRENT="Oblicz z bieżącego"
SHADES_OF="Odcienie" SHADES_OF="Odcienie"
LIGHTEN_DARKEN="Jaśniejsze / Ciemniejsze"
SATURATION="Nasycenie..." SATURATION="Nasycenie..."
ROTATE_HSL_HUE="Obróć kanał barwy HSL..." ROTATE_HSL_HUE="Obróć kanał barwy HSL..."
CURRENT="obecny kolor"
WALLPAPER_COLORS="Kolory z tapety" WALLPAPER_COLORS="Kolory z tapety"
ACCENT_COLORS="Popularne kolory akcentu" ACCENT_COLORS="Popularne kolory akcentu"
LIGHTCOLORS="Jasne kolory..." LIGHTCOLORS="Jasne kolory..."
DARKCOLORS="Ciemne kolory..." DARKCOLORS="Ciemne kolory..."
;; ;;
*) *)
SELECT_COLOR="Select color" SELECT_COLOR="Select color"
@ -41,8 +44,10 @@ case "$LANG" in
OPACITY="Opacity" OPACITY="Opacity"
SHADES_OF_CURRENT="Calculate from current" SHADES_OF_CURRENT="Calculate from current"
SHADES_OF="Shades of" SHADES_OF="Shades of"
LIGHTEN_DARKEN="Lighten / Darken"
SATURATION="Saturation..." SATURATION="Saturation..."
ROTATE_HSL_HUE="Rotate HSL hue channel..." ROTATE_HSL_HUE="Rotate HSL hue channel..."
CURRENT="current color"
WALLPAPER_COLORS="Wallpaper colors" WALLPAPER_COLORS="Wallpaper colors"
ACCENT_COLORS="Popular accent colors" ACCENT_COLORS="Popular accent colors"
LIGHTCOLORS="Light colors..." LIGHTCOLORS="Light colors..."
@ -124,8 +129,16 @@ fi
out+=("^sep($SELECT_COLOR)") out+=("^sep($SELECT_COLOR)")
out+=(" $PICK_FROM_SCREEN,mbclr pixelcolor $2 $3 ${5} ${6}") out+=(" $PICK_FROM_SCREEN,mbclr pixelcolor $2 $3 ${5} ${6}")
out+=(" $SELECT_OR_PICK,mbclr pick $2 $3 ${5} ${6}") out+=(" $SELECT_OR_PICK,mbclr pick $2 $3 ${5} ${6}")
out+=("^sep()")
out+=("$SHADES_OF_CURRENT <tt><span bgcolor='$1'> </span></tt> (<small>$1</small>),^checkout(curshades)") # HERE
CUR_FG=$(pastel textcolor $1|pastel format hex)
out+=("^sep($SHADES_OF_CURRENT <tt><span bgcolor='$1' fgcolor='$CUR_FG'> $1 </span></tt>)")
out+=("$LIGHTEN_DARKEN,^checkout(curshades)")
out+=("$SATURATION,^checkout(saturate)")
out+=("$ROTATE_HSL_HUE,^checkout(rotate_hsl)")
#out+=("$SHADES_OF_CURRENT <tt><span bgcolor='$1'> </span></tt> (<small>$1</small>),^checkout(curshades)")
# HERE
out+=("^sep($WALLPAPER_COLORS)") out+=("^sep($WALLPAPER_COLORS)")
for i in "${wallcolors[@]}" for i in "${wallcolors[@]}"
@ -173,7 +186,7 @@ fi
done done
out2+=("^sep()") out2+=("^sep()")
out2+=("<tt><small>$1</small> <span bgcolor='$1'> </span></tt>,$2 $3 '${1}' ${6};${5}") out2+=("<tt><span bgcolor='$1' fgcolor='$CUR_FG'> <small>$CURRENT $1</small> </span></tt>,$2 $3 '${1}' ${6};${5}")
out2+=("^sep()") out2+=("^sep()")
for i in 05 1 15 2 25 3; do for i in 05 1 15 2 25 3; do
clr=$(pastel darken 0.$i "${1}" | pastel format hex) clr=$(pastel darken 0.$i "${1}" | pastel format hex)
@ -181,8 +194,12 @@ if [ "${clr}" != "#000000" ];then
out2+=("<tt><small>$clr</small> <span bgcolor='$clr'> </span></tt>,$2 $3 '${clr}' ${6};${5}") out2+=("<tt><small>$clr</small> <span bgcolor='$clr'> </span></tt>,$2 $3 '${clr}' ${6};${5}")
fi fi
done done
# Shades ENG
# NOWE
# SATURATION
out2+=("^tag(saturate)")
out2+=("^sep($SATURATION)") out2+=("^sep($SATURATION)")
for i in 9 8 7 6 5 4 3 2 1; do for i in 9 8 7 6 5 4 3 2 1; do
clr=$(pastel desaturate 0.$i "${1}" | pastel format hex) clr=$(pastel desaturate 0.$i "${1}" | pastel format hex)
@ -191,6 +208,9 @@ out2+=("<tt><small>$clr</small> <span bgcolor='$clr'> </span></tt
oldclr=${clr} oldclr=${clr}
fi fi
done done
out2+=("^sep()")
out2+=("<tt><span bgcolor='$1' fgcolor='$CUR_FG'> <small>$CURRENT $1</small> </span></tt>,$2 $3 '${1}' ${6};${5}")
out2+=("^sep()")
for i in 1 2 3 4 5 6 7 8 9; do for i in 1 2 3 4 5 6 7 8 9; do
clr=$(pastel saturate 0.$i "${1}" | pastel format hex) clr=$(pastel saturate 0.$i "${1}" | pastel format hex)
if [ "${clr}" != "${oldclr}" ];then if [ "${clr}" != "${oldclr}" ];then
@ -198,16 +218,23 @@ out2+=("<tt><small>$clr</small> <span bgcolor='$clr'> </span></tt
oldclr=${clr} oldclr=${clr}
fi fi
done done
# SATURATION END
# ROTATE HSL
out2+=("^tag(rotate_hsl)")
out2+=("^sep($ROTATE_HSL_HUE)") out2+=("^sep($ROTATE_HSL_HUE)")
for i in {135..15..15};do for i in {135..15..15};do
clr=$(pastel rotate -- -$i "${1}" |pastel format hex) clr=$(pastel rotate -- -$i "${1}" |pastel format hex)
out2+=("<tt><small>$clr</small> <span bgcolor='$clr'> </span> <small>-$i°</small></tt>,$2 $3 '${clr}' ${6};${5}") out2+=("<tt><small>$clr</small> <span bgcolor='$clr'> </span> <small>-$i°</small></tt>,$2 $3 '${clr}' ${6};${5}")
done done
out2+=("^sep()")
out2+=("<tt><span bgcolor='$1' fgcolor='$CUR_FG'> <small>$CURRENT $1</small> </span></tt>,$2 $3 '${1}' ${6};${5}")
out2+=("^sep()")
for i in {15..135..15};do for i in {15..135..15};do
clr=$(pastel rotate $i "${1}" |pastel format hex) clr=$(pastel rotate $i "${1}" |pastel format hex)
out2+=("<tt><small>$clr</small> <span bgcolor='$clr'> </span> <small>$i°</small></tt>,$2 $3 '${clr}' ${6};${5}") out2+=("<tt><small>$clr</small> <span bgcolor='$clr'> </span> <small>$i°</small></tt>,$2 $3 '${clr}' ${6};${5}")
done done
# NOWE # ROTATE HSL END
printf '%s\n' "${out[@]}" printf '%s\n' "${out[@]}"
printf '%s\n' "${out2[@]}" printf '%s\n' "${out2[@]}"

View File

@ -424,11 +424,12 @@ randomizer () {
### ensure we use MBColors at the moment ### ensure we use MBColors at the moment
theme MBcolors theme MBcolors
### SHADOW (here, because we must know if is set later when title font color is calculated) ### SHADOW (here, because we must know if is set later when title font color is calculated)
SHADOWS=(no dark light) ### Maybe better is not to change shadow? for now
rand=$((RANDOM%3)) #SHADOWS=(no dark light)
SHADOW="${SHADOWS[$rand]}" #rand=$((RANDOM%3))
#SHADOW="${SHADOWS[$rand]}"
obtctl shadow "${SHADOW}" #shadow "${SHADOW}"
### RANDOM GRADIENT COLORS ### RANDOM GRADIENT COLORS
GRADIENT_FILE="$HOME"/.config/colorizer/gradients_all.inc GRADIENT_FILE="$HOME"/.config/colorizer/gradients_all.inc

View File

@ -52,6 +52,7 @@ pipemenu () {
MENUS="Menu i Panele boczne" MENUS="Menu i Panele boczne"
OBWD="Dekoracja okien Openbox" OBWD="Dekoracja okien Openbox"
ALL="Wszystko" ALL="Wszystko"
ALLRESET="Resetuj wszystko"
RESET_TO_DEFAULT="Resetuj do ustawień domyślnych..." RESET_TO_DEFAULT="Resetuj do ustawień domyślnych..."
HELP="Okno Główne i Pomoc" HELP="Okno Główne i Pomoc"
;; ;;
@ -59,7 +60,8 @@ pipemenu () {
SETRANDOM="Set random colorscheme for..." SETRANDOM="Set random colorscheme for..."
MENUS="Menus and Panels" MENUS="Menus and Panels"
OBWD="OpenBox Window Decoration" OBWD="OpenBox Window Decoration"
ALL="All" ALL="All above"
ALLRESET="Reset All above"
RESET_TO_DEFAULT="Reset to default settings..." RESET_TO_DEFAULT="Reset to default settings..."
HELP="Main Window and Help" HELP="Main Window and Help"
;; ;;
@ -68,6 +70,7 @@ pipemenu () {
MENUS="Menus and Panels" MENUS="Menus and Panels"
OBWD="OpenBox Window Decoration" OBWD="OpenBox Window Decoration"
ALL="All above" ALL="All above"
ALLRESET="Reset All above"
RESET_TO_DEFAULT="Reset to default settings..." RESET_TO_DEFAULT="Reset to default settings..."
HELP="Main Window and Help" HELP="Main Window and Help"
;; ;;
@ -77,16 +80,26 @@ pipemenu () {
out+=("$OBWD,randomizer ob;$me") out+=("$OBWD,randomizer ob;$me")
out+=("Conky,randomizer conky;$me") out+=("Conky,randomizer conky;$me")
out+=("^sep()") out+=("^sep()")
out+=("$ALL,randomizer all;$me") out+=("$ALL,randomizer all;$me")
out+=("^sep($RESET_TO_DEFAULT)") out+=("^sep($RESET_TO_DEFAULT)")
out+=("$MENUS,jgctl resetMBcolors;$me") out+=("$MENUS,jgctl resetMBcolors;$me")
out+=("$OBWD,obtctl resetMBcolors;$me") out+=("$OBWD,obtctl resetMBcolors;$me")
out+=("Conky,conkyctl resetcolorsall;$me") out+=("Conky,conkyctl resetcolorsall;$me")
out+=("^sep()") out+=("^sep()")
out+=("$ALL,randomizer resetall;$me") out+=("<big>󰁯</big> $ALLRESET,randomizer resetall;$me")
if [[ "$1" != "c" ]];then
out+=("^sep(Colorizer)") out+=("^sep(Colorizer)")
out+=("Colorizer - $HELP,ycolorizer") out+=(" Colorizer - $HELP,ycolorizer")
out+=("Colorizer - Rootmenu,colorizer -s")
out+=("^sep(Colorizer modules)")
out+=("OpenBox,colorizer-ob -s")
out+=("Menus,colorizer-menus -s")
out+=("Conky,colorizer-conky -s")
out+=("^sep()")
out+=("Cava,colorizer-cava -s")
out+=("PyRadio,colorizer-pyradio -s")
fi
printf '%s\n' "${out[@]}" printf '%s\n' "${out[@]}"
} }

View File

@ -61,11 +61,12 @@ nav button.w3-bar-item {padding:4px 12px !important;}
<button class="w3-bar-item w3-button w3-small tablink" onclick="openTab(event, 'Jgmenu')">Menu/Sidepanels</button> <button class="w3-bar-item w3-button w3-small tablink" onclick="openTab(event, 'Jgmenu')">Menu/Sidepanels</button>
<button class="w3-bar-item w3-button w3-small tablink" onclick="openTab(event, 'Conky')">Conky</button> <button class="w3-bar-item w3-button w3-small tablink" onclick="openTab(event, 'Conky')">Conky</button>
<button class="w3-bar-item w3-button w3-small tablink" onclick="openTab(event, 'Wall2theme')">Wallpaper  themes</button> <button class="w3-bar-item w3-button w3-small tablink" onclick="openTab(event, 'Wall2theme')">Wallpaper  themes</button>
<button class="w3-bar-item w3-button w3-small tablink" onclick="openTab(event, 'pyradiocava')"><i>Cava, PyRadio</i></button>
<button class="w3-bar-item w3-button w3-small tablink" onclick="openTab(event, 'Tint2')">Tint2 Panel</button> <button class="w3-bar-item w3-button w3-small tablink" onclick="openTab(event, 'Tint2')">Tint2 Panel</button>
<button class="w3-bar-item w3-button w3-small tablink" onclick="openTab(event, 'Terminal')">Terminal theme</button> <button class="w3-bar-item w3-button w3-small tablink" onclick="openTab(event, 'Terminal')">Terminal theme</button>
<button class="w3-bar-item w3-button w3-small tablink" onclick="openTab(event, 'Save')">Save and Restore</button> <button class="w3-bar-item w3-button w3-small tablink" onclick="openTab(event, 'Save')">Save and Restore</button>
</nav> </nav>
<div class="w3-center" style="margin: 80px 10px 0 10px;"> <div class="w3-center" style="margin: 60px 10px 0 10px;">
<a class="w3-button w3-bar-item w3-tiny w3-tooltip w3-lime" style="margin-top:1px;" href="run://pcmanwp"><span class="w3-right w3-large"></span>Choose wallpaper<span class="w3-text w3-tag w3-medium w3-round" style="position:fixed;left:144px;bottom:178px">Choose wallpaper from image context menu</span></a> <a class="w3-button w3-bar-item w3-tiny w3-tooltip w3-lime" style="margin-top:1px;" href="run://pcmanwp"><span class="w3-right w3-large"></span>Choose wallpaper<span class="w3-text w3-tag w3-medium w3-round" style="position:fixed;left:144px;bottom:178px">Choose wallpaper from image context menu</span></a>
<a class="w3-button w3-bar-item w3-tiny w3-tooltip w3-khaki" style="margin-top:4px;" href="run://colorizer -s"><span class="w3-right w3-large"></span>Colorizer Rootmenu<span class="w3-text w3-tag w3-medium w3-round" style="position:fixed;left:144px;bottom:148px">Colorizer Menu (advanced)</span></a> <a class="w3-button w3-bar-item w3-tiny w3-tooltip w3-khaki" style="margin-top:4px;" href="run://colorizer -s"><span class="w3-right w3-large"></span>Colorizer Rootmenu<span class="w3-text w3-tag w3-medium w3-round" style="position:fixed;left:144px;bottom:148px">Colorizer Menu (advanced)</span></a>
<a class="w3-button w3-bar-item w3-tiny w3-tooltip w3-amber" style="margin-top:1px;" href="run://colorizer-ob -s"><span class="w3-right w3-large"></span>Openbox module<span class="w3-text w3-tag w3-medium w3-round" style="position:fixed;left:144px;bottom:118px">Openbox Window Decoration module</span></a> <a class="w3-button w3-bar-item w3-tiny w3-tooltip w3-amber" style="margin-top:1px;" href="run://colorizer-ob -s"><span class="w3-right w3-large"></span>Openbox module<span class="w3-text w3-tag w3-medium w3-round" style="position:fixed;left:144px;bottom:118px">Openbox Window Decoration module</span></a>
@ -87,22 +88,20 @@ nav button.w3-bar-item {padding:4px 12px !important;}
<section id="Colorizer" class="w3-container tab" style="min-height:100vh;"> <section id="Colorizer" class="w3-container tab" style="min-height:100vh;">
<div class="w3-display-container" style="min-height:90vh"> <div class="w3-display-container" style="min-height:90vh">
<img src="/usr/share/mabox-colorizer/img/colorizer.png" class="w3-margin-top w3-right"/> <img src="/usr/share/mabox-colorizer/img/colorizer.png" class="w3-right"/>
<br/>
<h2 class="w3-center">Mabox Colorizer <span class="w3-tiny">pre-release</span></h2> <h2 class="w3-center">Mabox Colorizer <span class="w3-tiny">pre-release</span></h2>
<p class="w3-center">a set of tools to easily customize<br/>your Mabox Linux Desktop</p> <p class="w3-center"><i>a set of tools to easily customize<br/>your Mabox Linux Desktop</i></p>
<br/>
<p>Easily change look and feel of: <p>Easily change look and feel of:
<ul> <ul>
<li><strong><span class="w3-tag w3-round w3-tiny w3-green link" onclick="openTab(event, 'Openbox')">Openbox theme</span></strong> (window decorations)</li> <li><strong><span class="w3-tag w3-round w3-tiny w3-light-green link" onclick="openTab(event, 'Openbox')">Openbox theme</span></strong> (window decorations)</li>
<li><strong><span class="w3-tag w3-round w3-tiny w3-green link" onclick="openTab(event, 'Jgmenu')">Menu/Sidepanels</span></strong> and other <i>jgmenu-based</i> <strong>Mabox tools</strong></li> <li><strong><span class="w3-tag w3-round w3-tiny w3-light-green link" onclick="openTab(event, 'Jgmenu')">Menu/Sidepanels</span></strong> and other <i>jgmenu-based</i> <strong>Mabox tools</strong></li>
<li><strong><span class="w3-tag w3-round w3-tiny w3-green link" onclick="openTab(event, 'Conky')">Conkies</span></strong></li> <li><strong><span class="w3-tag w3-round w3-tiny w3-light-green link" onclick="openTab(event, 'Conky')">Conkies</span></strong></li>
<li><strong><span class="w3-tag w3-round w3-tiny w3-amber link" onclick="openTab(event, 'Wall2theme')">Automatically generate themes</span></strong> for all above <strong>from Wallpaper colors</strong></li>
<!--<li><strong>PyRadio</strong> - Internet Radio Player</li>//--> <!--<li><strong>PyRadio</strong> - Internet Radio Player</li>//-->
</ul></p> </ul></p>
<!--<strong><span class="w3-tag w3-round w3-tiny w3-green link" onclick="openTab(event, 'Wall2theme')">Automatically generate themes</span></strong> for all above <strong>from Wallpaper colors</strong>//--> <p class="w3-center">  Try <strong>Randomizer</strong> to change themes quickly. You can securely reset to defaults at any time <span class="w3-tag w3-round w3-red">New!</span></p>
<br/> <div class="w3-row">
<p class="w3-center"><strong>Randomizer</strong> - set color themes quickly and securely <span class="w3-tag w3-round w3-red">New!</span></p>
<div class="w3-row w3-margin-top">
<div class="w3-half w3-container"> <div class="w3-half w3-container">
<div class="w3-card w3-round w3-padding w3-deep-purple"><span class="w3-right w3-xxlarge"></span><p><em>Quickly <strong>randomize</strong> <br />colorschemes for...</em></p> <div class="w3-card w3-round w3-padding w3-deep-purple"><span class="w3-right w3-xxlarge"></span><p><em>Quickly <strong>randomize</strong> <br />colorschemes for...</em></p>
<div class="w3-bar-block w3-grey"><a class="w3-button w3-bar-item w3-tiny" href="run://randomizer ob">Openbox theme</a> <div class="w3-bar-block w3-grey"><a class="w3-button w3-bar-item w3-tiny" href="run://randomizer ob">Openbox theme</a>
@ -126,11 +125,10 @@ nav button.w3-bar-item {padding:4px 12px !important;}
<p>Colorizer offers two modes of operation: basic and advanced. <p>Colorizer offers two modes of operation: basic and advanced.
<ul> <ul>
<li><strong>basic</strong> - you use this window - easy and fast</li> <li><strong>basic</strong> - you use this window - easy and fast</li>
<li><strong>advanced</strong> - using dynamically generated menus - more customization possibilities, unlimited choice of colors</li> <li><strong>advanced</strong> - using dynamically generated menus - more customization possibilities, unlimited choice of colors. Tuning.</li>
</ul> </ul>
</p> </p>
<br />
<br />
</div> </div>
@ -461,11 +459,9 @@ You can add <strong>your own commands</strong> to each Conky, which will be show
<a class="w3-button w3-bar-item w3-small w3-grey w3-hover-amber w3-right" href="run://colorizer -s"> Colorizer Menu</a> <a class="w3-button w3-bar-item w3-small w3-grey w3-hover-amber w3-right" href="run://colorizer -s"> Colorizer Menu</a>
</div> </div>
</div> </div>
<h2>Generating themes from wallpaper</h2> <h2>Generating themes from wallpaper</h2>
<div class="w3-row">
<div class="w3-row w3-margin-top">
<div class="w3-twothird"> <div class="w3-twothird">
<p>Colorizer generates a color palette based on the currently set wallpaper</p> <p>Colorizer generates a color palette based on the currently set wallpaper</p>
<p>Based on such a color palette, it is possible to use two versions of themes (dark and light) for: <p>Based on such a color palette, it is possible to use two versions of themes (dark and light) for:
@ -473,7 +469,6 @@ You can add <strong>your own commands</strong> to each Conky, which will be show
<li>OpenBox window decoration</li> <li>OpenBox window decoration</li>
<li>Menus, Panels</li> <li>Menus, Panels</li>
<li>Conky</li> <li>Conky</li>
<li>PyRadio</li>
</ul> </ul>
</p> </p>
<p>Try how it works...</p> <p>Try how it works...</p>
@ -540,11 +535,33 @@ You can add <strong>your own commands</strong> to each Conky, which will be show
</div> </div>
</div> </div>
<div class="w3-row w3-margin-top"> <h4>Automatic generation of themes after changing wallpaper</h4>
<p>You can setup Colorizer to auto-generate themes when you change wallpaper.<br /> Use <a class="w3-tag w3-round w3-light-green w3-small w3-hover-yellow" href="run://colorizer -s"> Colorizer -> Settings</a> or <a class="w3-tag w3-round w3-light-green w3-small w3-hover-yellow" href="config://.config/colorizer/colorizer.conf"> edit configuration file</a> to enable this feature.</p>
</section>
<section id="pyradiocava" class="w3-container tab" style="display:none;min-height:100vh;">
<div class="fixed">
<div class="w3-bar">
<a class="w3-button w3-bar-item w3-small w3-grey w3-hover-amber w3-right" href="run://colorizer-cava -s">󱕍 Colorizer Cava</a>
</div>
</div>
<p><i>These Colorizer modules are optional - that is, they only appear in the Colorizer root menu when the corresponding programs are running.</i></p>
<h3>Cava - Audio Visualizer</h3>
<p>You can turn on audio visualization while listening to music. Click below, to try different options (numbers means height in pixels)</p>
<p>Full screen width: <a class="w3-tag w3-amber" href="run://mb-music cavastart 200 full">200</a> <a class="w3-tag w3-amber" href="run://mb-music cavastart 100 full">100</a> <a class="w3-tag w3-amber" href="run://mb-music cavastart 50 full">50</a> or half screen width: <a class="w3-tag w3-amber" href="run://mb-music cavastart 200 half">200</a> <a class="w3-tag w3-amber" href="run://mb-music cavastart 100 half">100</a> <a class="w3-tag w3-amber" href="run://mb-music cavastart 50 half">50</a></p>
<p>Use Colorizer <a class="w3-tag w3-small w3-orange" href="run://colorizer-cava -s"> 󱕍 Cava module </a> to fine-tune colors, gradients and bars.</p>
<div class="w3-panel w3-dark-grey w3-rightbar w3-border-black w3-border" style="margin-top:-2px;">
<p><a class="w3-tag w3-teal" href="run://mb-music -s">Music & Sound</a> dynamic menu can serve as basic, lightweight music player (mpv-based) you might like to try. <i>Also available from panel's volume icon - right click</i></p>
</div>
<h3>PyRadio - Internet Radio</h3>
<div class="w3-row">
<div class="w3-twothird"> <div class="w3-twothird">
<br /><br /> <p>PyRadio is advanced command line internet radio player.</p>
<p>When playing with Colorizer for a long time, music can be a good companion</p> <p>You can turn on <strong>PyRadio</strong> <kbd>super</kbd>+<kbd>r</kbd></p>
<p>You can turn on <strong>PyRadio</strong> <kbd>super</kbd>+<kbd>r</kbd> and listen to nice music.<br /><em>Chillout?</em></p> <p>Colorizer can generate pyradio themes based on palette of currently used wallpaper.</p>
<p>Use Colorizer <a class="w3-tag w3-small w3-orange" href="run://colorizer-pyradio -s"> PyRadio module </a> to fine-tune colors.</p>
</div> </div>
<div class="w3-third"> <div class="w3-third">
@ -564,12 +581,6 @@ You can add <strong>your own commands</strong> to each Conky, which will be show
</div> </div>
</div> </div>
<br />
<h4>Automatic generation of themes after changing wallpaper</h4>
<p><em>(Experimental)</em></p>
<p>You can set the theme to auto-generate when you change wallpaper.<br /> Use <a class="w3-tag w3-round w3-green w3-small w3-hover-yellow" href="run://colorizer -s"> Colorizer -> Settings</a> or <a class="w3-tag w3-round w3-green w3-small w3-hover-yellow" href="config://.config/colorizer/colorizer.conf"> edit configuration file</a> to configure this feature.</p>
<br /><br />
</section> </section>
<section id="Terminal" class="w3-container tab" style="display:none;min-height:100vh"> <section id="Terminal" class="w3-container tab" style="display:none;min-height:100vh">
<div class="fixed"> <div class="fixed">

View File

@ -62,11 +62,12 @@ nav button.w3-bar-item {padding:4px 12px !important;}
<button class="w3-bar-item w3-button w3-small tablink" onclick="openTab(event, 'Jgmenu')">Menu/Panele Boczne</button> <button class="w3-bar-item w3-button w3-small tablink" onclick="openTab(event, 'Jgmenu')">Menu/Panele Boczne</button>
<button class="w3-bar-item w3-button w3-small tablink" onclick="openTab(event, 'Conky')">Conky</button> <button class="w3-bar-item w3-button w3-small tablink" onclick="openTab(event, 'Conky')">Conky</button>
<button class="w3-bar-item w3-button w3-small tablink" onclick="openTab(event, 'Wall2theme')">Kolory z tapety</button> <button class="w3-bar-item w3-button w3-small tablink" onclick="openTab(event, 'Wall2theme')">Kolory z tapety</button>
<button class="w3-bar-item w3-button w3-small tablink" onclick="openTab(event, 'pyradiocava')"><i>Cava, PyRadio</i></button>
<button class="w3-bar-item w3-button w3-small tablink" onclick="openTab(event, 'Tint2')">Panel Tint2</button> <button class="w3-bar-item w3-button w3-small tablink" onclick="openTab(event, 'Tint2')">Panel Tint2</button>
<button class="w3-bar-item w3-button w3-small tablink" onclick="openTab(event, 'Terminal')">Kolory Terminala</button> <button class="w3-bar-item w3-button w3-small tablink" onclick="openTab(event, 'Terminal')">Kolory Terminala</button>
<button class="w3-bar-item w3-button w3-small tablink" onclick="openTab(event, 'Save')">Zapisywanie</button> <button class="w3-bar-item w3-button w3-small tablink" onclick="openTab(event, 'Save')">Zapisywanie</button>
</nav> </nav>
<div class="w3-center" style="margin: 80px 10px 0 10px;"> <div class="w3-center" style="margin: 60px 10px 0 10px;">
<a class="w3-button w3-bar-item w3-tiny w3-tooltip w3-lime" style="margin-top:1px;" href="run://pcmanwp"><span class="w3-right w3-large"></span>Wybierz tapetę<span class="w3-text w3-tag w3-medium w3-round" style="position:fixed;left:144px;bottom:178px">Wybierz i ustaw tapetę za pomocą menu kontekstowego</span></a> <a class="w3-button w3-bar-item w3-tiny w3-tooltip w3-lime" style="margin-top:1px;" href="run://pcmanwp"><span class="w3-right w3-large"></span>Wybierz tapetę<span class="w3-text w3-tag w3-medium w3-round" style="position:fixed;left:144px;bottom:178px">Wybierz i ustaw tapetę za pomocą menu kontekstowego</span></a>
<a class="w3-button w3-bar-item w3-tiny w3-tooltip w3-khaki" style="margin-top:4px;" href="run://colorizer -s"><span class="w3-right w3-large"></span>Colorizer Menu<span class="w3-text w3-tag w3-medium w3-round" style="position:fixed;left:144px;bottom:148px">Colorizer Menu główne (zaawansowane)</span></a> <a class="w3-button w3-bar-item w3-tiny w3-tooltip w3-khaki" style="margin-top:4px;" href="run://colorizer -s"><span class="w3-right w3-large"></span>Colorizer Menu<span class="w3-text w3-tag w3-medium w3-round" style="position:fixed;left:144px;bottom:148px">Colorizer Menu główne (zaawansowane)</span></a>
<a class="w3-button w3-bar-item w3-tiny w3-tooltip w3-amber" style="margin-top:1px;" href="run://colorizer-ob -s"><span class="w3-right w3-large"></span>Moduł Openbox<span class="w3-text w3-tag w3-medium w3-round" style="position:fixed;left:144px;bottom:118px">Konfiguracja Dekoracji Okien Openbox</span></a> <a class="w3-button w3-bar-item w3-tiny w3-tooltip w3-amber" style="margin-top:1px;" href="run://colorizer-ob -s"><span class="w3-right w3-large"></span>Moduł Openbox<span class="w3-text w3-tag w3-medium w3-round" style="position:fixed;left:144px;bottom:118px">Konfiguracja Dekoracji Okien Openbox</span></a>
@ -88,20 +89,18 @@ nav button.w3-bar-item {padding:4px 12px !important;}
<section id="Colorizer" class="w3-container tab" style="min-height:100vh;"> <section id="Colorizer" class="w3-container tab" style="min-height:100vh;">
<div class="w3-display-container" style="min-height:90vh"> <div class="w3-display-container" style="min-height:90vh">
<img src="/usr/share/mabox-colorizer/img/colorizer.png" class="w3-margin-top w3-right"/> <img src="/usr/share/mabox-colorizer/img/colorizer.png" class="w3-right"/>
<br/>
<h2 class="w3-center">Mabox Colorizer <span class="w3-tiny">pre-release</span></h2> <h2 class="w3-center">Mabox Colorizer <span class="w3-tiny">pre-release</span></h2>
<p class="w3-center">narzędzie do ustawiania<br /> Pulpitu Mabox Linux</p> <p class="w3-center"><i>narzędzie do dostrajania motywów<br />pulpitu Mabox Linux</i></p>
<br />
<p>Z łatwością zmienisz wygląd: <p>Z łatwością zmienisz wygląd:
<ul> <ul>
<li><strong><span class="w3-tag w3-round w3-tiny w3-green link" onclick="openTab(event, 'Openbox')">Motywu Openbox</span></strong> (dekoracje okien)</li> <li><strong><span class="w3-tag w3-round w3-tiny w3-light-green link" onclick="openTab(event, 'Openbox')">Motywu Openbox</span></strong> (dekoracje okien)</li>
<li><strong><span class="w3-tag w3-round w3-tiny w3-green link" onclick="openTab(event, 'Jgmenu')">Menu oraz Paneli bocznych</span></strong> oraz innych <i>bazujących na jgmenu</i> <strong>narzędzi Mabox</strong></li> <li><strong><span class="w3-tag w3-round w3-tiny w3-light-green link" onclick="openTab(event, 'Jgmenu')">Menu oraz Paneli bocznych</span></strong> oraz innych <i>bazujących na jgmenu</i> <strong>narzędzi Mabox</strong></li>
<li><strong><span class="w3-tag w3-round w3-tiny w3-green link" onclick="openTab(event, 'Conky')">Conky</span></strong></li> <li><strong><span class="w3-tag w3-round w3-tiny w3-light-green link" onclick="openTab(event, 'Conky')">Conky</span></strong></li>
<li><strong><span class="w3-tag w3-round w3-tiny w3-amber link" onclick="openTab(event, 'Wall2theme')">Automatyczne generowanie motywów</span></strong> na podstawie <strong>kolorystyki tapety</strong></li>
</ul></p> </ul></p>
<br /> <p class="w3-center">  Wypróbuj <strong>Randomizer</strong> - szybko zmieniaj motywy. Bezpiecznie zresetuj gdy chcesz.<span class="w3-tag w3-round w3-red">Nowe!</span></p>
<p class="w3-center"><strong>Randomizer</strong> - szybko i bezpiecznie zmieniaj motywy <span class="w3-tag w3-round w3-red">Nowe!</span></p> <div class="w3-row">
<div class="w3-row w3-margin-top">
<div class="w3-half w3-container"> <div class="w3-half w3-container">
<div class="w3-card w3-round w3-padding w3-deep-purple"><span class="w3-right w3-xxlarge"></span><p><em>Ustaw <strong>losowy</strong> <br />motyw kolorystyczny dla...</em></p> <div class="w3-card w3-round w3-padding w3-deep-purple"><span class="w3-right w3-xxlarge"></span><p><em>Ustaw <strong>losowy</strong> <br />motyw kolorystyczny dla...</em></p>
<div class="w3-bar-block w3-grey"><a class="w3-button w3-bar-item w3-tiny" href="run://randomizer ob">Dekoracje okien Openbox</a> <div class="w3-bar-block w3-grey"><a class="w3-button w3-bar-item w3-tiny" href="run://randomizer ob">Dekoracje okien Openbox</a>
@ -125,11 +124,9 @@ nav button.w3-bar-item {padding:4px 12px !important;}
<p>Colorizer oferuje dwa tryby pracy: podstawowy i zaawansowany. <p>Colorizer oferuje dwa tryby pracy: podstawowy i zaawansowany.
<ul> <ul>
<li><strong>podstawowy</strong> - korzystasz z tego okna - łatwo i szybko</li> <li><strong>podstawowy</strong> - korzystasz z tego okna - łatwo i szybko</li>
<li><strong>zaawansowany</strong> - za pomocą dynamicznie generowanych menu - większe możliwości dostosowania, nieograniczony wybór kolorów</li> <li><strong>zaawansowany</strong> - za pomocą dynamicznie generowanych menu - większe możliwości dostosowania, nieograniczony wybór kolorów. Dopieszczanie.</li>
</ul> </ul>
</p> </p>
<br />
<br />
</div> </div>
</section> </section>
@ -475,9 +472,7 @@ Do każdego Conky możesz dodać <strong>własne polecenia</strong>, które zost
</div> </div>
</div> </div>
<h2>Generowanie motywów z tapety</h2> <h2>Generowanie motywów z tapety</h2>
<div class="w3-row">
<div class="w3-row w3-margin-top">
<div class="w3-twothird"> <div class="w3-twothird">
<p>Colorizer generuje paletę kolorów na bazie aktualnie ustawionej tapety</p> <p>Colorizer generuje paletę kolorów na bazie aktualnie ustawionej tapety</p>
<p>Na bazie takiej palety kolorów możliwe jest zastosowanie dwóch wersji motywów (ciemny i jasny) dla: <p>Na bazie takiej palety kolorów możliwe jest zastosowanie dwóch wersji motywów (ciemny i jasny) dla:
@ -485,7 +480,6 @@ Do każdego Conky możesz dodać <strong>własne polecenia</strong>, które zost
<li>dekoracji okien OpenBox</li> <li>dekoracji okien OpenBox</li>
<li>Menu, Paneli </li> <li>Menu, Paneli </li>
<li>Conky</li> <li>Conky</li>
<li>PyRadio</li>
</ul> </ul>
</p> </p>
<p>Wypróbuj jak to działa ...</p> <p>Wypróbuj jak to działa ...</p>
@ -551,20 +545,43 @@ Do każdego Conky możesz dodać <strong>własne polecenia</strong>, które zost
</div> </div>
</div> </div>
</div> </div>
<h4>Automatyczne generowanie motywów po zmianie tapety</h4>
<p>Jeśli chcesz możesz ustawić automatyczne generowanie motywów po zmianie tapety<br /> Aby to włączyć użyj <a class="w3-tag w3-round w3-light-green w3-small w3-hover-yellow" href="run://colorizer -s"> Colorizer -> Ustawienia</a> lub <a class="w3-tag w3-round w3-light-green w3-small w3-hover-yellow" href="config://.config/colorizer/colorizer.conf"> edytuj plik konfiguracyjny</a></p>
<div class="w3-row w3-margin-top">
</section>
<section id="pyradiocava" class="w3-container tab" style="display:none;min-height:100vh;">
<div class="fixed">
<div class="w3-bar">
<a class="w3-button w3-bar-item w3-small w3-grey w3-hover-amber w3-right" href="run://colorizer-cava -s">󱕍 Colorizer Cava</a>
</div>
</div>
<p><i>Te moduły Colorizera są opcjonalne - to znaczy pojawiają się w menu głównym Colorizera tylko wtedy, gdy uruchomione są odpowiednie programy.</i></p>
<h3>Cava - wizualizacja dźwięku</h3>
<p>Możesz włączyć wizualizację audio podczas słuchania muzyki. Kliknij poniżej, aby wypróbować różne opcje (liczby oznaczają wysokość w pikselach)</p>
<p>Pełna szerokość: <a class="w3-tag w3-amber" href="run://mb-music cavastart 200 full">200</a> <a class="w3-tag w3-amber" href="run://mb-music cavastart 100 full">100</a> <a class="w3-tag w3-amber" href="run://mb-music cavastart 50 full">50</a> lub połowa szerokości ekranu: <a class="w3-tag w3-amber" href="run://mb-music cavastart 200 half">200</a> <a class="w3-tag w3-amber" href="run://mb-music cavastart 100 half">100</a> <a class="w3-tag w3-amber" href="run://mb-music cavastart 50 half">50</a></p>
<p>Użyj <a class="w3-tag w3-small w3-orange" href="run://colorizer-cava -s"> 󱕍 Modułu Cava</a> aby ustawiać gradienty, zmieniać kolory, szerokość i odstęp między słupkami.</p>
<div class="w3-panel w3-dark-grey w3-rightbar w3-border-black w3-border" style="margin-top:-2px;">
<p>Dynamiczne menu <a class="w3-tag w3-teal" href="run://mb-music -s">Muzyka & Dźwięk</a> może służyć jako prosty i lekki odtwarzacz (bazujący na mpv). <i>Dostępny także pod prawym klikiem na ikonie dźwięku w panelu.</i></p>
</div>
<h3>PyRadio - Radio internetowe</h3>
<div class="w3-row">
<div class="w3-twothird"> <div class="w3-twothird">
<br /><br /> <p>PyRadio to zaawansowany odtwarzacz radia internetowego, działający pod konsolą.</p>
<p>Podczas dłuższej zabawy Colorizerem, dobrym kompanem może być muzyka</p> <p>Możesz włączyć <strong>PyRadio</strong> skrótem <kbd>super</kbd>+<kbd>r</kbd></p>
<p>Możesz włączyć <strong>PyRadio</strong> <kbd>super</kbd>+<kbd>r</kbd> i posłuchać przyjemnej muzyki<br /><em>Polecam Chillout ;)</em></p> <p>Colorizer może generować motywy pyradio na bazie palety kolorów z aktualnie ustawionej tapety.</p>
<p>Użyj <a class="w3-tag w3-small w3-orange" href="run://colorizer-pyradio -s"> Modułu PyRadio</a> aby dostosować kolory.</p>
</div> </div>
<div class="w3-third"> <div class="w3-third">
<div class="w3-card w3-round w3-padding w3-teal"><span class="w3-right w3-xxlarge"></span> <div class="w3-card w3-round w3-padding w3-teal"><span class="w3-right w3-xxlarge"></span>
<p><br /><strong>PyRadio</strong></p> <p><br /><strong>PyRadio</strong></p>
<div class="w3-bar-block w3-grey"> <div class="w3-bar-block w3-grey">
<a class="w3-button w3-bar-item w3-tiny" href="run://w2theme pyradio dark">Ciemne</a> <a class="w3-button w3-bar-item w3-tiny" href="run://w2theme pyradio dark">Ciemny</a>
<a class="w3-button w3-bar-item w3-tiny" href="run://w2theme pyradio light">Jasne</a> <a class="w3-button w3-bar-item w3-tiny" href="run://w2theme pyradio light">Jasny</a>
</div> </div>
<div class="w3-bar-block w3-grey" style="margin-top:1px;"> <div class="w3-bar-block w3-grey" style="margin-top:1px;">
<a class="w3-button w3-bar-item w3-tiny w3-hover-green" href="run://colorizer-pyradio -s"><span class="w3-right w3-large"></span> Dostosuj</a> <a class="w3-button w3-bar-item w3-tiny w3-hover-green" href="run://colorizer-pyradio -s"><span class="w3-right w3-large"></span> Dostosuj</a>
@ -575,12 +592,6 @@ Do każdego Conky możesz dodać <strong>własne polecenia</strong>, które zost
</div> </div>
</div> </div>
</div> </div>
<br />
<h4>Automatyczne generowanie motywów po zmianie tapety</h4>
<p><em>(Eksperymentalne)</em></p>
<p>Jeśli chcesz możesz ustawić automatyczne generowanie motywów po zmianie tapety<br /> Aby to włączyć użyj <a class="w3-tag w3-round w3-green w3-small w3-hover-yellow" href="run://colorizer -s"> Colorizer -> Ustawienia</a> lub <a class="w3-tag w3-round w3-green w3-small w3-hover-yellow" href="config://.config/colorizer/colorizer.conf"> edytuj plik konfiguracyjny</a></p>
<br /><br />
</section> </section>
<section id="Terminal" class="w3-container tab" style="display:none;min-height:100vh"> <section id="Terminal" class="w3-container tab" style="display:none;min-height:100vh">