sep_font,item_height

master
Daniel Napora 2022-05-14 01:43:22 +02:00
parent 2c9451afda
commit bf1e2284f3
1 changed files with 7 additions and 2 deletions

View File

@ -5,14 +5,19 @@
. $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}"
# TEMPORARY
[[ -v menu_sep_font_family ]] && : || mb-setvar "menu_sep_font_family='Noto Sans Bold'"
[[ -v menu_sep_font_size ]] && : || mb-setvar menu_sep_font_size=10
[[ -v item_height_factor ]] && : || mb-setvar item_height_factor=200
#menu title/sep font
menu_sep_font_size=${menu_sep_font_size:-9}
menu_sep_font_size=${menu_sep_font_size:-10}
menu_sep_font_family=${menu_sep_font_family:-Noto Sans Bold}
menu_sep_font="${menu_sep_font_family} ${menu_sep_font_size}"
item_height_factor=${item_height_factor:-200}
[ $(pidof picom) ] && MENU_RADIUS=$jgtools_radius
[ -z $jgmenu_use_borders ] && menu_border=0