jgmenusettings changes

master
Daniel Napora 2021-05-10 23:15:03 +02:00
parent fe55ee3a01
commit 01e749bd7b
1 changed files with 30 additions and 4 deletions

View File

@ -19,7 +19,9 @@ case $LANG in
JGBROWSER="Przeglądarka plików/katalogów"
SHOW_HIDDEN="Wyświetlanie ukrytych plików"
EDIT="Edytuj"
FULLHEIGHT="Pełna wysokość"
TOP="Góra"
CENTER="Na środku"
BOTTOM="Dół"
MODULES="Moduły"
RESET="Przywróć domyślne ustawienia"
@ -32,11 +34,13 @@ case $LANG in
SHORTCUTS="Skróty klawiszowe"
MENUPANELS="Ustawienia Menu/Paneli bocznych"
TINT2="Ustawienia panelu Tint2"
CONKY="Ustawienia Conky"
SSH_CONN="Połączenia SSH"
LOOKANDFEEL="Wygląd"
BORDER="Obramowanie"
PADDING="Margines wewnętrzny"
RADIUS="Zaokrąglone rogi"
SIDEPANELS_HPOS="Panele boczne pozycja/wysokość"
TOPMARGIN="Margines Paneli Góra/Dół"
SUBSPACING="Odstęp submenu"
ICONS="Ikony"
@ -49,7 +53,7 @@ case $LANG in
FONT_FAMILY="Czcionka"
FONT_SIZE="Rozmiar czcionki"
COLOR_SCHEME="Schemat kolorystyczny"
GRADIENT="Gradient"
GRADIENT="Kierunek Gradientu"
EDIT_CURRENT="Edytuj aktywny"
FOLLOW_OB="Zgodny z motywem OpenBox"
CHOOSE="Wybierz..."
@ -71,7 +75,9 @@ case $LANG in
JGBROWSER="File/Directory Browser"
SHOW_HIDDEN="Show hidden files"
EDIT="Editar"
FULLHEIGHT="Full Height"
TOP="TOP"
CENTER="Center"
BOTTOM="BOTTOM"
MODULES="Modules"
RESET="Reset to default"
@ -84,11 +90,13 @@ case $LANG in
SHORTCUTS="Atajos del teclado"
MENUPANELS="Menu/Paneles laterales"
TINT2="Tint2 panel settings"
CONKY="Conky settings"
SSH_CONN="SSH Connections"
LOOKANDFEEL="Apariencia"
BORDER="Menu Border"
PADDING="Padding"
RADIUS="Rounded Corners"
SIDEPANELS_HPOS="Panels Height/Position"
TOPMARGIN="Panels Top/Bottom Margin"
SUBSPACING="Submenu Spacing"
ICONS="Iconos"
@ -123,7 +131,9 @@ case $LANG in
JGBROWSER="File/Directory Browser"
SHOW_HIDDEN="Show hidden files"
EDIT="Edit"
FULLHEIGHT="Full Height"
TOP="Top"
CENTER="Center"
BOTTOM="Bottom"
MODULES="Modules"
RESET="Reset to default"
@ -136,11 +146,13 @@ case $LANG in
SHORTCUTS="Keyboard shortcuts"
MENUPANELS="Menu/Sidepanels settings"
TINT2="Tint2 panel settings"
CONKY="Conky settings"
SSH_CONN="SSH Connections"
LOOKANDFEEL="Look and Feel"
BORDER="Menu Border"
PADDING="Padding"
RADIUS="Rounded Corners"
SIDEPANELS_HPOS="Panels Height/Position"
TOPMARGIN="Panels Top/Bottom Margin"
SUBSPACING="Submenu Spacing"
ICONS="Icons"
@ -153,7 +165,7 @@ case $LANG in
FONT_FAMILY="Font Family"
FONT_SIZE="Font Size"
COLOR_SCHEME="Color Scheme"
GRADIENT="Gradient position"
GRADIENT="Gradient direction"
EDIT_CURRENT="Edit current"
FOLLOW_OB="Same as OpenBox theme"
CHOOSE="Choose..."
@ -200,6 +212,7 @@ out2+=("^sep($PIPEMENUS)")
[[ $places_softwarepipe = false ]] && out2+=("<i><s>$POPINSTALL</s></i>,mb-setvar places_softwarepipe=true;$L") || out2+=("$POPINSTALL,mb-setvar places_softwarepipe=false;$L")
[[ $places_menusettingspipe = false ]] && out2+=("<i><s>$MENUPANELS</s></i>,mb-setvar places_menusettingspipe=true;$L") || out2+=("$MENUPANELS,mb-setvar places_menusettingspipe=false;$L")
[[ $places_tint2pipe = false ]] && out2+=("<i><s>$TINT2</s></i>,mb-setvar places_tint2pipe=true;$L") || out2+=("$TINT2,mb-setvar places_tint2pipe=false;$L")
[[ $places_conkypipe = false || -z $places_conkypipe ]] && out2+=("<i><s>$CONKY</s></i>,mb-setvar places_conkypipe=true;$L") || out2+=("$CONKY,mb-setvar places_conkypipe=false;$L")
out2+=("^sep()")
out2+=("$EDIT $OWN_COMMANDS ($BOTTOM), geany $HOME/.config/mabox/places-append.csv, geany")
@ -225,8 +238,11 @@ out+=("^sep($LOOKANDFEEL)")
out+=("$BORDER [ <b>${jgtools_border:-0}</b> ],^checkout(mborder)")
out+=("$PADDING [ <b>${jgtools_padding:-0}</b> ],^checkout(mpadding)")
out+=("$RADIUS [ <b>${jgtools_radius:-0}</b> ],^checkout(mradius)")
out+=("$TOPMARGIN [ <b>${panels_topmargin:-0}</b> ],^checkout(topmargin)")
out+=("$SUBSPACING [ <b>${submenu_spacing:-0}</b> ],^checkout(subspacing)")
out+=("^sep()")
out+=("$SIDEPANELS_HPOS [ <b>${panels_heightpos:-center}</b> ],^checkout(sidepanelpos)")
out2+=("^tag(mborder)")
#for i in 0 1 2 3 4; do out2+=("${i},mb-setvar jgtools_border=${i};$me");done
for i in 0 1 2 3 4 5 6 8 10 12; do out2+=("$(printf "<tt>%3s</tt>,%s" "$i" "mb-setvar jgtools_border=${i};$me")");done
@ -243,9 +259,19 @@ for i in 0 20 30 40 50 60 80 100 120 160 200; do out2+=("$(printf "<tt>%4s</tt>,
#for i in 0 20 30 40 50 60 80 100; do out2+=("${i},mb-setvar panels_topmargin=${i};$me");done
out2+=("^tag(subspacing)")
for i in -8 -6 -4 -2 0 1 2 4 6 8 10 12 14 16 18 20; do out2+=("$(printf "<tt>%4s</tt>,%s" "$i" "mb-setvar submenu_spacing=${i};$me")");done
for i in -20 -8 -6 -4 -2 0 1 2 4 6 8 10 12 14 16 18 20; do out2+=("$(printf "<tt>%4s</tt>,%s" "$i" "mb-setvar submenu_spacing=${i};$me")");done
#for i in -8 -6 -4 -2 0 1 2 3 4 5 6; do out2+=("${i},mb-setvar submenu_spacing=${i};$me");done
out2+=("^tag(sidepanelpos)")
out2+=("^sep($SIDEPANELS_HPOS)")
out2+=("$FULLHEIGHT,mb-setvar panels_heightpos=full;$me")
out2+=("^sep()")
out2+=("$TOP,mb-setvar panels_heightpos=top;$me")
out2+=("$CENTER,mb-setvar panels_heightpos=center;$me")
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