tint2 menus update

master
Daniel Napora 2021-11-08 13:35:05 +01:00
parent 4d53048782
commit a2ad50d4bb
3 changed files with 6 additions and 2 deletions

View File

@ -95,7 +95,7 @@ out+=("$DESKMNGR,jgdeskmngr -s")
### RUN
if [[ $1 == "-s" ]]; then
if [[ "$1" == "-s" || "$1" == "ipc" ]]; then
. /usr/share/mb-jgtools/pipemenu-standalone.cfg
. $HOME/.config/mabox/mabox.conf
if [[ $panels_heightpos == "top" ]]; then
@ -111,6 +111,9 @@ fi
MENU_PADDING_TOP=${jgtools_padding:-0}
MENU_HALIGN="center"
if [[ "$1" == "ipc" ]]; then
POSITION_MODE="ipc"
fi
jgmenu_icon_size=0
[ $(pidof picom) ] && MENU_RADIUS=$jgtools_radius

View File

@ -125,7 +125,7 @@ jgmenu_icon_size=0
menu_margin_x=${submenu_spacing:-0}
[ $(pidof picom) ] && MENU_RADIUS=$jgtools_radius
[ -z $jgmenu_use_borders ] && menu_border=0
POSITION_MODE=${2:-center}
mkconfigfile
cat <<EOF > ${MENU_ITEMS}

View File

@ -73,6 +73,7 @@ jgmenu_icon_size=0
JGWIDTH=300
MENU_HEIGHT_MAX=480
POSITION_MODE=${2:-center}
[ $(pidof picom) ] && MENU_RADIUS=$jgtools_radius
[ -z $jgmenu_use_borders ] && menu_border=0