jgmenu_use_icons variable

master
Daniel Napora 2020-09-02 01:34:07 +02:00
parent 781490a12a
commit 817cef6a26
1 changed files with 3 additions and 2 deletions

View File

@ -23,7 +23,7 @@ fi
. $HOME/.config/mabox/mabox.conf
jgmenu_theme=${jgmenu_theme:-obtheme}
jgmenu_use_icons=${jgmenu_use_icons:-true}
#jgmenu_use_icons=${jgmenu_use_icons:-false}
case $jgmenu_theme in
default)
export color_norm_fg="#FFFFFF "
@ -147,6 +147,7 @@ MENU_PADDING_TOP=24
MENU_PADDING_RIGHT=0
MENU_PADDING_BOTTOM=0
MENU_PADDING_LEFT=0
[ $jgmenu_use_icons == false ] && jgmenu_icon_size=0
MENU_RADIUS=${RADIUS:-0}
@ -160,7 +161,7 @@ right() {
CONFIG_FILE=$(mktemp)
MENU_ITEMS=$(mktemp)
trap "rm -f ${CONFIG_FILE} ${MENU_ITEMS}" EXIT
[ $jgmenu_use_icons == false ] && jgmenu_icon_size=0
MENU_HALIGN="right"
ITEM_HALIGN="left"
ARROW_STRING=" ⮜ "