title font

master
Daniel Napora 2022-05-11 01:34:57 +02:00
parent eb995e66e5
commit fb45c6c03d
1 changed files with 34 additions and 9 deletions

View File

@ -58,6 +58,10 @@ case $LANG in
SIZE="Rozmiar i czcionka"
FONT_FAMILY="Czcionka"
FONT_SIZE="Rozmiar czcionki"
ITEM_FONT="Element"
TITLE_FONT="Tytuł/Separator"
INCREASE="Powiększ"
DECREASE="Pomniejsz"
LINEHEIGHT="Wysokość elementu menu"
FONT_CUSTOM="Wybierz czcionkę i rozmiar..."
COLOR_SCHEME="Motyw kolorystyczny"
@ -123,8 +127,12 @@ case $LANG in
SIZE="Tamaño de Menu/Panel lateral"
FONT_FAMILY="Familia tipográfica"
FONT_SIZE="Tamaño de fuente"
LINEHEIGHT="Item height"
FONT_CUSTOM="Select custom font and size..."
ITEM_FONT="Fuente"
TITLE_FONT="Titulo/Separador de Fuente"
INCREASE="Aumentar"
DECREASE="Disminuir"
LINEHEIGHT="Altura"
FONT_CUSTOM="Seleccionar su fuente y tamaño..."
COLOR_SCHEME="Esquema de colores"
GRADIENT="Gradient"
EDIT_CURRENT="Editar el actual"
@ -188,6 +196,10 @@ case $LANG in
SIZE="Font"
FONT_FAMILY="Font Family"
FONT_SIZE="Font Size"
ITEM_FONT="Item Font"
TITLE_FONT="Title/Separator Font"
INCREASE="Increase"
DECREASE="Decrease"
LINEHEIGHT="Item height"
FONT_CUSTOM="Select custom font and size..."
COLOR_SCHEME="Color Scheme"
@ -309,12 +321,13 @@ out2+=("$BOTTOM,mb-setvar panels_heightpos=bottom;$me")
out2+=("^sep()")
out2+=("$TOPMARGIN [ <b>${panels_topmargin:-0}</b> ],^checkout(topmargin)")
out2+=("^tag(fontsize)")
for i in 7 8 9 10 11 12 14 16 18 20; do out2+=("$(printf "<tt>%4s</tt>,%s" "$i" "mb-setvar menu_font_size=${i};mb-setvar jgmenu_item_height=$((i*2));mb-setvar jgmenu_icon_size=$((i*2-2));$me")");done
# FONTS
out+=("^sep(<i>$SIZE</i>)")
out+=("$FONT_SIZE [ <b>${menu_font_size:-0}</b> ],^checkout(fontsize)")
out+=("$FONT_FAMILY [ <b>${menu_font_family:-0}</b> ],^checkout(fonty)")
out+=("$ITEM_FONT [ <b>$menu_font_family $menu_font_size</b> ],^checkout(itemfont)")
out+=("$TITLE_FONT [ <b>$menu_sep_font_family $menu_sep_font_size</b> ],^checkout(titlefont)")
#out+=("$FONT_FAMILY [ <b>${menu_font_family:-0}</b> ],^checkout(fonty)")
#out+=("$FONT_SIZE [ <b>${menu_font_size:-0}</b> ],^checkout(fontsize)")
out+=("$LINEHEIGHT [ <b>$item_height_factor%</b> ],^checkout(lineheight)")
case $menu_font_family in
@ -328,10 +341,14 @@ case $menu_font_family in
*);;
esac
out2+=("^tag(fonty)")
out2+=("^tag(itemfont)")
out2+=("^sep($FONT_FAMILY)")
out2+=("$FONT_CUSTOM,mb-setfont menu;$me")
out2+=("$FONT_CUSTOM,mb-setfont menu_item;$me")
out2+=("^sep()")
out2+=(" <tt>++</tt> $INCREASE ( $((menu_font_size+1)) ),mb-setvar menu_font_size=$((menu_font_size+1));$me")
out2+=(" <tt>--</tt> $DECREASE ( $((menu_font_size-1)) ),mb-setvar menu_font_size=$((menu_font_size-1));$me")
out2+=("^sep()")
out2+=("<span size=\"x-large\" font_family=\"Noto Sans Light\">$nol Noto Sans Light</span>,mb-setvar \"menu_font_family='Noto Sans Light'\";$me")
out2+=("<span size=\"x-large\" font_family=\"Noto Sans Medium\">$nom Noto Sans Medium</span>,mb-setvar \"menu_font_family='Noto Sans Medium'\";$me")
out2+=("<span size=\"x-large\" font_family=\"JetBrains Mono Regular\">$je JetBrains Mono Regular</span>,mb-setvar \"menu_font_family='JetBrains Mono Regular'\";$me")
@ -340,8 +357,16 @@ out2+=("<span size=\"x-large\" font_family=\"DejaVu Serif\">$de DejaVu Serif</s
out2+=("<span size=\"x-large\" font_family=\"Roboto Light\">$ro Roboto Light</span>,mb-setvar \"menu_font_family='Roboto Light'\";$me")
out2+=("<span size=\"x-large\" font_family=\"Inconsolata\">$in Inconsolata</span>,mb-setvar menu_font_family=Inconsolata;$me")
out2+=("^tag(titlefont)")
out2+=("^sep($TITLE_FONT)")
out2+=("$FONT_CUSTOM,mb-setfont menu_sep;$me")
out2+=("^sep()")
out2+=(" <tt>++</tt> $INCREASE ( $((menu_sep_font_size+1)) ),mb-setvar menu_sep_font_size=$((menu_sep_font_size+1));$me")
out2+=(" <tt>--</tt> $DECREASE ( $((menu_sep_font_size-1)) ),mb-setvar menu_sep_font_size=$((menu_sep_font_size-1));$me")
out2+=("^tag(lineheight)")
for i in 160 180 200 240 280; do out2+=("$(printf "<tt>%4s%%</tt>,%s" "$i" "mb-setvar item_height_factor=${i};$me")");done
for i in 160 180 200 240 280 300 400; do out2+=("$(printf "<tt>%4s%%</tt>,%s" "$i" "mb-setvar item_height_factor=${i};$me")");done
########## THEMES
out+=("^sep(<i>$COLOR_SCHEME</i>)")