From fd6ea0ebddcfa48dca010624ba66a9866dd4c54e Mon Sep 17 00:00:00 2001 From: Daniel Napora Date: Sun, 9 Aug 2026 10:18:36 +0200 Subject: [PATCH] icons BeautySolar --- bin/mb-jgtools | 55 +++++++++++++++++++++++++++++++------------------- 1 file changed, 34 insertions(+), 21 deletions(-) diff --git a/bin/mb-jgtools b/bin/mb-jgtools index d866feb..e99bc57 100755 --- a/bin/mb-jgtools +++ b/bin/mb-jgtools @@ -144,7 +144,7 @@ case $LANG in _FONT_CUSTOM="Wybierz czcionkę i rozmiar..." _COLOR_SCHEME="Motyw kolorystyczny" - _CHOOSE="Wybierz..." + _CHOOSE="Wybierz" _RANDTHEME="Losowy" _FEATURES="Możliwości" _CUSTOM_COMMANDS="Własne Komendy" @@ -164,6 +164,7 @@ _APPS_SUB="Aplikacje w podmenu" _ICONS="pokaż Ikony" _ICON_SET="Zestaw Ikon" _INSTALL="Instaluj" +_ADVANCED="Zaawansowane" ;; *) _DESKTOPS="Desktops" @@ -228,7 +229,7 @@ _INSTALL="Instaluj" _FONT_CUSTOM="Select custom font and size..." _COLOR_SCHEME="Color Scheme" - _CHOOSE="Choose..." + _CHOOSE="Choose" _RANDTHEME="Random" _FEATURES="Features" _CUSTOM_COMMANDS="Custom Commands" @@ -248,6 +249,7 @@ _APPS_SUB="Apps in submenu" _ICONS="Show Icons" _ICON_SET="Icon set" _INSTALL="Install" +_ADVANCED="Advanced" ;; esac @@ -403,8 +405,8 @@ case $LANG in out+=("Wprowadzenie do Maboxa (5 min),xdg-open https://pl.maboxlinux.org/krotkie-wprowadzenie-do-pulpitu-maboxa/") out+=("Przewodnik Użytkownika 2026 nowy! ,xdg-open https://pl.maboxlinux.org/przewodnik-uzytkownika/wprowadzenie-do-mabox-linux/") out+=("^sep(WWW)") - out+=(" Forum dyskusyjne,xdg-open https://forum.maboxlinux.org") - out+=(" Strona www,xdg-open https://maboxlinux.org") + out+=(" Forum dyskusyjne,xdg-open https://forum.maboxlinux.org") + out+=(" Strona www,xdg-open https://maboxlinux.org") out+=(" Manual,xdg-open https://manual.maboxlinux.org") out+=(" Developer Blog,xdg-open https://blog.maboxlinux.org") out+=("^sep()") @@ -426,8 +428,8 @@ case $LANG in out+=("5 min intro to Mabox Desktop,xdg-open https://blog.maboxlinux.org/a-quick-5-minutes-intro-to-mabox-desktop/") out+=("Mabox User Guide 2026 new! ,xdg-open https://maboxlinux.org/users-guide/introduction-to-mabox-linux-desktop/") out+=("^sep(WWW)") - out+=(" Community forum,xdg-open https://forum.maboxlinux.org") - out+=(" Website,xdg-open https://maboxlinux.org") + out+=(" Community forum,xdg-open https://forum.maboxlinux.org") + out+=(" Website,xdg-open https://maboxlinux.org") out+=(" Manual,xdg-open https://manual.maboxlinux.org") out+=(" Developer Blog,xdg-open https://blog.maboxlinux.org") out+=("^sep()") @@ -486,6 +488,11 @@ out2+=("BeautyLine,mb-setvar jgmenu_icon_theme=BeautyLine;mb-setvar jgmenu_use_i else out2+=("$_INSTALL BeautyLine icons, pamac-installer beautyline") fi +if [ -d /usr/share/icons/BeautySolar ];then +out2+=("BeautySolar,mb-setvar jgmenu_icon_theme=BeautySolar;mb-setvar jgmenu_use_icons=true;$me menus") +else +out2+=("$_INSTALL BeautySolar icons, pamac-installer beautysolar-icon-theme") +fi if [ -d /usr/share/icons/Sardi-Arc ];then out2+=("^sep()") out2+=("Sardi,mb-setvar jgmenu_icon_theme=Sardi;mb-setvar jgmenu_use_icons=true;$me menus") @@ -522,6 +529,7 @@ out2+=("^sep($_IN_RIGHT)") out2+=("$_RESET,mb-reset rightpanel") out+=("^sep($_ALLMENU_SETTINGS)") +out+=("$_CHOOSE $_COLOR_SCHEME ,mb-jgtools mstylesel") # FONTS out+=("^sep($_FONTS)") out+=("󰛖 $_TITLE_FONT [ $menu_sep_font_family $menu_sep_font_size ],^checkout(sptitlefont)") @@ -588,20 +596,11 @@ out2+=("^tag(splineheight)") done -### MENU THEMES -out+=("^sep($_COLOR_SCHEME)") -out+=("$_RANDTHEME,jgctl randomscheme;$me menus") -out+=("$_CHOOSE ,mb-jgtools mstylesel") -#out+=("$_CHOOSE ,^checkout(spmotywy)") -#out2+=("^tag(spmotywy)") -#for item in /usr/share/mb-jgtools/jgobthemes/*colorrc; do -# theme="${item##*/}" -# #notify-send.sh "th" "$item" -# out2+=("${theme%.*},jgctl applyoldscheme ${item};$me menus") -#done -out+=(" Menu Colorizer (advanced),colorizer-menus -s") + +out+=("^sep($_ADVANCED)") +out+=(" Menu Colorizer,colorizer-menus -s") @@ -1774,20 +1773,34 @@ mstylesel(){ case $LANG in pl*) _RANDTHEME="Losowy" + _JASKIER="Jaskier (domyślny)" + _ISTREDD="Istredd (stary)" + _GREYBIRD="GreyBird (prosty)" _SCHEME_SEL="Wybierz motyw menu" - _COLOR_SCHEMES="Motywy" + _COLOR_SCHEMES="Wszystkie Motywy" ;; *) _RANDTHEME="Random" + _JASKIER="Jaskier (default)" + _ISTREDD="Istredd (old)" + _GREYBIRD="GreyBird (basic)" _SCHEME_SEL="Menu theme selector" - _COLOR_SCHEMES="Color schemes" + _COLOR_SCHEMES="All color schemes" ;; esac last="${1}" me="mb-jgtools mstylesel" out+=("${arrow_string_left} ${arrow_string_left} ,mb-jgtools places menus") out+=("^sep($_SCHEME_SEL)") -out+=("$_RANDTHEME,jgctl randomscheme;$me") +randfile=$(ls /usr/share/mb-jgtools/jgobthemes/*colorrc| shuf -n 1) +th="${randfile##*/}" + +out+=(" $_RANDTHEME,jgctl applyoldscheme ${randfile};$me ${th%.*}") +out+=("^sep()") +out+=("$_JASKIER,jgctl applyscheme sys 5;$me Jaskier") +out+=("$_GREYBIRD,jgctl applyscheme sys 7;$me Greybird") +out+=("$_ISTREDD,jgctl applyscheme sys 2;$me Istredd") +#out+=("$_RANDTHEME,jgctl randomscheme;$me") #out+=("_TWEAKS,^root(tweaks)") out+=("^sep($_COLOR_SCHEMES)") for item in /usr/share/mb-jgtools/jgobthemes/*colorrc; do