added rounded corners

master
Daniel Napora 2021-01-12 16:42:42 +01:00
parent 514f635cd4
commit e4556001f6
1 changed files with 11 additions and 7 deletions

View File

@ -28,6 +28,7 @@ case $LANG in
MENUPANELS="Menu / Panele boczne" MENUPANELS="Menu / Panele boczne"
LOOKANDFEEL="Wygląd" LOOKANDFEEL="Wygląd"
BORDER="Obramowanie" BORDER="Obramowanie"
RADIUS="Zaokrąglone rogi"
TOPMARGIN="Margines Paneli Góra/Dół" TOPMARGIN="Margines Paneli Góra/Dół"
SUBSPACING="Odstęp submenu" SUBSPACING="Odstęp submenu"
ICONS="Ikony" ICONS="Ikony"
@ -56,8 +57,8 @@ case $LANG in
MAINMENU="Main Menu" MAINMENU="Main Menu"
LEFTPANEL="Left panel" LEFTPANEL="Left panel"
RIGHTPANEL="Right panel" RIGHTPANEL="Right panel"
EXITMENU="" EXITMENU="Logout Dialog"
JGBROWSER="" JGBROWSER="File/Directory Browser"
SHOW_HIDDEN="Show hidden files" SHOW_HIDDEN="Show hidden files"
EDIT="Editar" EDIT="Editar"
TOP="TOP" TOP="TOP"
@ -66,7 +67,7 @@ case $LANG in
RESET="Reset to default" RESET="Reset to default"
QUICK_NAV="Navegación rápida" QUICK_NAV="Navegación rápida"
BOOKMARKS="Marcadores" BOOKMARKS="Marcadores"
VBOXES="" VBOXES="Virtual Machines"
PIPEMENUS="Menu con extras" PIPEMENUS="Menu con extras"
POPINSTALL="Instalar Programas populares" POPINSTALL="Instalar Programas populares"
SYSINFO="System information" SYSINFO="System information"
@ -74,6 +75,7 @@ case $LANG in
MENUPANELS="Menu / Paneles laterales" MENUPANELS="Menu / Paneles laterales"
LOOKANDFEEL="Apariencia" LOOKANDFEEL="Apariencia"
BORDER="Menu Border" BORDER="Menu Border"
RADIUS="Rounded Corners"
TOPMARGIN="Panels Top/Bottom Margin" TOPMARGIN="Panels Top/Bottom Margin"
SUBSPACING="Submenu Spacing" SUBSPACING="Submenu Spacing"
ICONS="Iconos" ICONS="Iconos"
@ -120,6 +122,7 @@ case $LANG in
MENUPANELS="Menu / Sidepanels" MENUPANELS="Menu / Sidepanels"
LOOKANDFEEL="Look and Feel" LOOKANDFEEL="Look and Feel"
BORDER="Menu Border" BORDER="Menu Border"
RADIUS="Rounded Corners"
TOPMARGIN="Panels Top/Bottom Margin" TOPMARGIN="Panels Top/Bottom Margin"
SUBSPACING="Submenu Spacing" SUBSPACING="Submenu Spacing"
ICONS="Icons" ICONS="Icons"
@ -147,7 +150,7 @@ me="mb-jgtools $jgtools_last"
L="mb-jgtools places" L="mb-jgtools places"
R="mb-jgtools right" R="mb-jgtools right"
M=""
#out+=("^sep($TITLE)") #out+=("^sep($TITLE)")
case $menu_font_size in case $menu_font_size in
7) t="";; 7) t="";;
@ -169,9 +172,6 @@ out+=("$EXITMENU,^checkout(exit_edit)")
out+=("^sep($JGBROWSER)") out+=("^sep($JGBROWSER)")
[[ $jgbrowser_show_hidden = false ]] && out+=("<i><s>$SHOW_HIDDEN</s></i>,mb-setvar jgbrowser_show_hidden=true;$me") || out+=("$SHOW_HIDDEN,mb-setvar jgbrowser_show_hidden=false;$me") [[ $jgbrowser_show_hidden = false ]] && out+=("<i><s>$SHOW_HIDDEN</s></i>,mb-setvar jgbrowser_show_hidden=true;$me") || out+=("$SHOW_HIDDEN,mb-setvar jgbrowser_show_hidden=false;$me")
out2+=("^tag(mainmenu_edit)") out2+=("^tag(mainmenu_edit)")
out2+=("^sep($MAINMENU)") out2+=("^sep($MAINMENU)")
out2+=("$EDIT $MENU_ITEMS, geany $HOME/.config/jgmenu/prepend.csv, geany") out2+=("$EDIT $MENU_ITEMS, geany $HOME/.config/jgmenu/prepend.csv, geany")
@ -217,12 +217,16 @@ out2+=(". $HOME/.config/mabox/exit.csv")
out+=("^sep()") out+=("^sep()")
out+=("^sep($LOOKANDFEEL)") out+=("^sep($LOOKANDFEEL)")
out+=("$BORDER [ <b>${jgtools_border:-0}</b> ],^checkout(mborder)") out+=("$BORDER [ <b>${jgtools_border:-0}</b> ],^checkout(mborder)")
out+=("$RADIUS [ <b>${jgtools_radius:-0}</b> ],^checkout(mradius)")
out+=("$TOPMARGIN [ <b>${panels_topmargin:-0}</b> ],^checkout(topmargin)") out+=("$TOPMARGIN [ <b>${panels_topmargin:-0}</b> ],^checkout(topmargin)")
out+=("$SUBSPACING [ <b>${submenu_spacing:-0}</b> ],^checkout(subspacing)") out+=("$SUBSPACING [ <b>${submenu_spacing:-0}</b> ],^checkout(subspacing)")
out2+=("^tag(mborder)") 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; do out2+=("${i},mb-setvar jgtools_border=${i};$me");done
for i in 0 1 2 3 4; do out2+=("$(printf "<tt>%3s</tt>,%s" "$i" "mb-setvar jgtools_border=${i};$me")");done for i in 0 1 2 3 4; do out2+=("$(printf "<tt>%3s</tt>,%s" "$i" "mb-setvar jgtools_border=${i};$me")");done
out2+=("^tag(mradius)")
for i in 0 1 2 3 4 6 8 12; do out2+=("$(printf "<tt>%3s</tt>,%s" "$i" "mb-setvar jgtools_radius=${i};$me")");done
out2+=("^tag(topmargin)") out2+=("^tag(topmargin)")
for i in 0 20 30 40 50 60 80 100; do out2+=("$(printf "<tt>%4s</tt>,%s" "$i" "mb-setvar panels_topmargin=${i};$me")");done for i in 0 20 30 40 50 60 80 100; do out2+=("$(printf "<tt>%4s</tt>,%s" "$i" "mb-setvar panels_topmargin=${i};$me")");done
#for i in 0 20 30 40 50 60 80 100; do out2+=("${i},mb-setvar panels_topmargin=${i};$me");done #for i in 0 20 30 40 50 60 80 100; do out2+=("${i},mb-setvar panels_topmargin=${i};$me");done