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