diff --git a/usr/bin/jgmenusettings-pipe b/usr/bin/jgmenusettings-pipe index 477e060..6cf6b6c 100755 --- a/usr/bin/jgmenusettings-pipe +++ b/usr/bin/jgmenusettings-pipe @@ -58,6 +58,7 @@ case $LANG in SIZE="Rozmiar i czcionka" FONT_FAMILY="Czcionka" FONT_SIZE="Rozmiar czcionki" + LINEHEIGHT="Wysokość elementu menu" FONT_CUSTOM="Wybierz czcionkę i rozmiar..." COLOR_SCHEME="Motyw kolorystyczny" GRADIENT="Kierunek Gradientu" @@ -122,6 +123,7 @@ 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..." COLOR_SCHEME="Esquema de colores" GRADIENT="Gradient" @@ -186,6 +188,7 @@ case $LANG in SIZE="Font" FONT_FAMILY="Font Family" FONT_SIZE="Font Size" + LINEHEIGHT="Item height" FONT_CUSTOM="Select custom font and size..." COLOR_SCHEME="Color Scheme" GRADIENT="Gradient direction" @@ -311,7 +314,8 @@ for i in 7 8 9 10 11 12 14 16 18 20; do out2+=("$(printf "%4s,%s" "$i" out+=("^sep($SIZE)") out+=("$FONT_SIZE [ ${menu_font_size:-0} ],^checkout(fontsize)") -out+=("$FONT_FAMILY[ ${menu_font_family:-0} ],^checkout(fonty)") +out+=("$FONT_FAMILY [ ${menu_font_family:-0} ],^checkout(fonty)") +out+=("$LINEHEIGHT [ $item_height_factor% ],^checkout(lineheight)") case $menu_font_family in "Noto Sans Light") nol="";; @@ -336,7 +340,9 @@ out2+=("$de DejaVu Serif$ro Roboto Light,mb-setvar \"menu_font_family='Roboto Light'\";$me") out2+=("$in Inconsolata,mb-setvar menu_font_family=Inconsolata;$me") - +out2+=("^tag(lineheight)") + for i in 160 180 200 240 280; do out2+=("$(printf "%4s%%,%s" "$i" "mb-setvar item_height_factor=${i};$me")");done + ########## THEMES out+=("^sep($COLOR_SCHEME)")