more icons options in settings menu

master
Daniel Napora 2020-10-01 11:48:08 +02:00
parent 4bf6857f35
commit 9449df6af2
2 changed files with 28 additions and 14 deletions

View File

@ -6,10 +6,11 @@ case $LANG in
pl*) pl*)
TITLE="Ustawienia Menu i Paneli" TITLE="Ustawienia Menu i Paneli"
ICONS="Ikony" ICONS="Ikony"
CIRCLE="Okrągłe ikony" CIRCLE="Okrągłe ikony (Numix)"
SQUARE="Kwadratowe ikony" SQUARE="Kwadratowe ikony (Numix)"
SHOW_ICONS="Pokaż ikony" SHOW_ICONS="Pokaż ikony"
HIDE_ICONS="Ukryj ikony" HIDE_ICONS="Ukryj ikony"
INSTALL_SARDI="Instaluj sardi-icons"
SIZE="Rozmiar i czcionka" SIZE="Rozmiar i czcionka"
TINY="malutki" TINY="malutki"
SMALL="mały" SMALL="mały"
@ -26,10 +27,11 @@ case $LANG in
es*) es*)
TITLE="Menu/Panel lateral" TITLE="Menu/Panel lateral"
ICONS="Iconos" ICONS="Iconos"
CIRCLE="Circilo iconos" CIRCLE="Circilo iconos (Numix)"
SQUARE="Cuadrado iconos" SQUARE="Cuadrado iconos (Numix)"
SHOW_ICONS="Mostrar iconos" SHOW_ICONS="Mostrar iconos"
HIDE_ICONS="Ocultar iconos" HIDE_ICONS="Ocultar iconos"
INSTALL_SARDI="Instalar sardi-icons"
SIZE="Tamaño de Menu/Panel lateral" SIZE="Tamaño de Menu/Panel lateral"
TINY="Diminuto" TINY="Diminuto"
SMALL="Pequeño" SMALL="Pequeño"
@ -46,10 +48,11 @@ case $LANG in
*) *)
TITLE="Menu settings" TITLE="Menu settings"
ICONS="Icons" ICONS="Icons"
CIRCLE="Circle icons" CIRCLE="Circle icons (Numix)"
SQUARE="Square icons" SQUARE="Square icons (Numix)"
SHOW_ICONS="Show icons" SHOW_ICONS="Show icons"
HIDE_ICONS="Hide icons" HIDE_ICONS="Hide icons"
INSTALL_SARDI="Install sardi-icons"
SIZE="Menu/Sidepanels Size and Font" SIZE="Menu/Sidepanels Size and Font"
TINY="tiny" TINY="tiny"
SMALL="small" SMALL="small"
@ -87,11 +90,11 @@ case $menu_font_size in
esac esac
out+=("^sep($SIZE)") out+=("^sep($SIZE)")
out+=(" $t <small><small>$TINY</small></small>,mb-setvar menu_font_size=7;mb-setvar jgmenu_item_height=14;mb-setvar jgmenu_icon_size=8;mb-setvar sep_height=1;mb-setvar item_margin_y=1; mb-jgtools settings out+=(" $t <small><small>$TINY</small></small>,mb-setvar menu_font_size=7;mb-setvar jgmenu_item_height=14;mb-setvar jgmenu_icon_size=14;mb-setvar sep_height=1;mb-setvar item_margin_y=1; mb-jgtools settings
$s <small>$SMALL</small>,mb-setvar menu_font_size=8;mb-setvar jgmenu_item_height=16;mb-setvar jgmenu_icon_size=12;mb-setvar sep_height=2;mb-setvar item_margin_y=2;mb-jgtools settings $s <small>$SMALL</small>,mb-setvar menu_font_size=8;mb-setvar jgmenu_item_height=16;mb-setvar jgmenu_icon_size=16;mb-setvar sep_height=2;mb-setvar item_margin_y=2;mb-jgtools settings
$n $NORMAL,mb-setvar menu_font_size=9;mb-setvar jgmenu_item_height=18;mb-setvar jgmenu_icon_size=16;mb-setvar sep_height=2;mb-setvar item_margin_y=2;mb-jgtools settings $n $NORMAL,mb-setvar menu_font_size=9;mb-setvar jgmenu_item_height=18;mb-setvar jgmenu_icon_size=18;mb-setvar sep_height=2;mb-setvar item_margin_y=2;mb-jgtools settings
$b <big>$BIG</big>,mb-setvar menu_font_size=10;mb-setvar jgmenu_item_height=20;mb-setvar jgmenu_icon_size=18;mb-setvar sep_height=4;mb-setvar item_margin_y=3;mb-jgtools settings $b <big>$BIG</big>,mb-setvar menu_font_size=10;mb-setvar jgmenu_item_height=20;mb-setvar jgmenu_icon_size=20;mb-setvar sep_height=4;mb-setvar item_margin_y=3;mb-jgtools settings
$h <big><big>$HUGE</big></big>,mb-setvar menu_font_size=12;mb-setvar jgmenu_item_height=24;mb-setvar jgmenu_icon_size=20;mb-setvar sep_height=5;mb-setvar item_margin_y=3;mb-jgtools settings") $h <big><big>$HUGE</big></big>,mb-setvar menu_font_size=12;mb-setvar jgmenu_item_height=24;mb-setvar jgmenu_icon_size=24;mb-setvar sep_height=5;mb-setvar item_margin_y=3;mb-jgtools settings")
#out+=("^sep($FONT_FAMILY)") #out+=("^sep($FONT_FAMILY)")
@ -147,7 +150,18 @@ fi
out+=("^sep()") out+=("^sep()")
out+=("$SQUARE,mb-setvar jgmenu_icon_theme=Numix-Square;mb-setvar jgmenu_use_icons=true;mb-jgtools settings") out+=("$SQUARE,mb-setvar jgmenu_icon_theme=Numix-Square;mb-setvar jgmenu_use_icons=true;mb-jgtools settings")
out+=("$CIRCLE,mb-setvar jgmenu_icon_theme=Numix-Circle;mb-setvar jgmenu_use_icons=true;mb-jgtools settings") out+=("$CIRCLE,mb-setvar jgmenu_icon_theme=Numix-Circle;mb-setvar jgmenu_use_icons=true;mb-jgtools settings")
if [ -d /usr/share/icons/Sardi-Arc ];then
out+=("^sep()")
out+=("Sardi,mb-setvar jgmenu_icon_theme=Sardi;mb-setvar jgmenu_use_icons=true;mb-jgtools settings")
out+=("Sardi-Orb-Colora,mb-setvar jgmenu_icon_theme=Sardi-Orb-Colora;mb-setvar jgmenu_use_icons=true;mb-jgtools settings")
out+=("Sardi-Flat,mb-setvar jgmenu_icon_theme=Sardi-Flat;mb-setvar jgmenu_use_icons=true;mb-jgtools settings")
out+=("Sardi-Flexible,mb-setvar jgmenu_icon_theme=Sardi-Flexible;mb-setvar jgmenu_use_icons=true;mb-jgtools settings")
out+=("Sardi-Mono,mb-setvar jgmenu_icon_theme=Sardi-Mono;mb-setvar jgmenu_use_icons=true;mb-jgtools settings")
else
out+=("^sep()")
out+=("$INSTALL_SARDI, pamac-installer sardi-icons")
fi
########## THEMES ########## THEMES
out+=("^sep($COLOR_SCHEME)") out+=("^sep($COLOR_SCHEME)")

View File

@ -8,7 +8,7 @@ case $LANG in
declare -a Gry=(wesnoth steam-manjaro lutris playonlinux ) declare -a Gry=(wesnoth steam-manjaro lutris playonlinux )
declare -a Biuro=(abiword gnumeric) declare -a Biuro=(abiword gnumeric)
declare -a Ebook=(calibre fbreader) declare -a Ebook=(calibre fbreader)
declare -a Backup=(timeshift deja-dup) declare -a Backup=(timeshift)
declare -a Wirtualizacja=(virtualbox gnome-boxes) declare -a Wirtualizacja=(virtualbox gnome-boxes)
declare -a categories=(Internet Multimedia Grafika Biuro Ebook Gry Backup Wirtualizacja) declare -a categories=(Internet Multimedia Grafika Biuro Ebook Gry Backup Wirtualizacja)
INSTALL="Instaluj" INSTALL="Instaluj"
@ -25,7 +25,7 @@ case $LANG in
declare -a Juegos=(wesnoth steam-manjaro lutris playonlinux ) declare -a Juegos=(wesnoth steam-manjaro lutris playonlinux )
declare -a Oficina=(abiword gnumeric) declare -a Oficina=(abiword gnumeric)
declare -a LibrosE=(calibre fbreader) declare -a LibrosE=(calibre fbreader)
declare -a Respaldo=(timeshift deja-dup) declare -a Respaldo=(timeshift)
declare -a Virtualizacion=(virtualbox gnome-boxes) declare -a Virtualizacion=(virtualbox gnome-boxes)
declare -a categories=(Internet Multimedia Graficos Juegos Oficina LibrosE Respaldo Virtualizacion) declare -a categories=(Internet Multimedia Graficos Juegos Oficina LibrosE Respaldo Virtualizacion)
INSTALL="Instalar" INSTALL="Instalar"
@ -42,7 +42,7 @@ case $LANG in
declare -a Games=(wesnoth steam-manjaro lutris playonlinux ) declare -a Games=(wesnoth steam-manjaro lutris playonlinux )
declare -a Office=(abiword gnumeric) declare -a Office=(abiword gnumeric)
declare -a Ebook=(calibre fbreader) declare -a Ebook=(calibre fbreader)
declare -a Backup=(timeshift deja-dup) declare -a Backup=(timeshift)
declare -a Virtualization=(virtualbox gnome-boxes) declare -a Virtualization=(virtualbox gnome-boxes)
declare -a categories=(Internet Multimedia Graphics Office Ebook Games Backup Virtualization) declare -a categories=(Internet Multimedia Graphics Office Ebook Games Backup Virtualization)
INSTALL="Install" INSTALL="Install"