menu item height
This commit is contained in:
parent
e595b3f4fb
commit
01e04e1855
@ -5,12 +5,11 @@
|
||||
|
||||
. $HOME/.config/mabox/mabox.conf
|
||||
jgmenu_theme=${jgmenu_theme:-obtheme}
|
||||
|
||||
item_height_factor=${item_height_factor:-200}
|
||||
menu_font_size=${menu_font_size:-9}
|
||||
menu_font_family=${menu_font_family:-Noto Sans Medium}
|
||||
jgmenu_font="${menu_font_family} ${menu_font_size}"
|
||||
|
||||
|
||||
[ $(pidof picom) ] && MENU_RADIUS=$jgtools_radius
|
||||
[ -z $jgmenu_use_borders ] && menu_border=0
|
||||
|
||||
@ -70,7 +69,7 @@ menu_radius = ${MENU_RADIUS:-0}
|
||||
menu_valign = ${MENU_VALIGN:-top}
|
||||
menu_halign = ${MENU_HALIGN:-left}
|
||||
|
||||
item_height = ${jgmenu_item_height:-20}
|
||||
item_height = $((menu_font_size*item_height_factor/100))
|
||||
item_halign = ${ITEM_HALIGN:-left}
|
||||
item_padding_x = 4
|
||||
|
||||
@ -98,10 +97,15 @@ color_title_bg = ${color_title_bg:-#169f6f 100}
|
||||
color_scroll_ind = ${color_scroll_ind:-#504e65 100}
|
||||
|
||||
sep_markup = weight="bold"
|
||||
#sep_markup = font="Ubuntu 16" weight="bold"
|
||||
sep_halign = ${sep_halign:-center}
|
||||
sep_height = ${sep_height:-5}
|
||||
font = ${jgmenu_font:-Noto Sans Medium 9}
|
||||
icon_size = ${jgmenu_icon_size:-18}
|
||||
|
||||
icon_size = $((menu_font_size*item_height_factor/100-2))
|
||||
icon_norm_alpha = 70
|
||||
icon_sel_alpha = 100
|
||||
icon_text_spacing = $((menu_font_size*item_height_factor/400))
|
||||
icon_theme = ${jgmenu_icon_theme:-Numix-Square}
|
||||
EOF
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
. $HOME/.config/mabox/mabox.conf
|
||||
jgmenu_theme=${jgmenu_theme:-obtheme}
|
||||
|
||||
item_height_factor=${item_height_factor:-200}
|
||||
menu_font_size=${menu_font_size:-9}
|
||||
menu_font_family=${menu_font_family:-Noto Sans Medium}
|
||||
jgmenu_font="${menu_font_family} ${menu_font_size}"
|
||||
@ -32,7 +32,7 @@ menu_radius = ${MENU_RADIUS:-0}
|
||||
menu_valign = ${MENU_VALIGN:-top}
|
||||
menu_halign = ${MENU_HALIGN:-left}
|
||||
|
||||
item_height = ${jgmenu_item_height:-20}
|
||||
item_height = $((menu_font_size*item_height_factor/100))
|
||||
item_halign = ${ITEM_HALIGN:-left}
|
||||
item_padding_x = 4
|
||||
|
||||
@ -63,7 +63,10 @@ sep_markup = weight="bold"
|
||||
sep_halign = ${sep_halign:-center}
|
||||
sep_height = ${sep_height:-5}
|
||||
font = ${jgmenu_font:-Noto Sans Medium 9}
|
||||
icon_size = ${jgmenu_icon_size:-18}
|
||||
icon_size = $((menu_font_size*item_height_factor/100-2))
|
||||
icon_norm_alpha = 70
|
||||
icon_sel_alpha = 100
|
||||
icon_text_spacing = $((menu_font_size*item_height_factor/400))
|
||||
icon_theme = ${jgmenu_icon_theme:-Numix-Square}
|
||||
EOF
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user