tint2 menus update
This commit is contained in:
parent
4d53048782
commit
a2ad50d4bb
@ -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
|
||||
|
@ -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}
|
||||
|
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user