mb-places -d

master
Daniel Napora 2024-10-03 10:37:08 +02:00
parent aee69edc40
commit 72fcf6e7ba
1 changed files with 2 additions and 1 deletions

View File

@ -100,7 +100,7 @@ out+=("^sep($SETTINGS)")
out+=(" $EDIT $LABEL,xdg-open $PLACES,geany") out+=(" $EDIT $LABEL,xdg-open $PLACES,geany")
### RUN ### RUN
if [[ "$1" == "-s" || "$1" == "ipc" ]]; then if [[ "$1" == "-s" || "$1" == "ipc" || "$1" == "-d" ]]; then
. /usr/share/mb-jgtools/pipemenu-standalone.cfg . /usr/share/mb-jgtools/pipemenu-standalone.cfg
. $HOME/.config/mabox/mabox.conf . $HOME/.config/mabox/mabox.conf
if [[ $panels_heightpos == "top" ]]; then if [[ $panels_heightpos == "top" ]]; then
@ -121,6 +121,7 @@ POSITION_MODE="ipc"
else else
POSITION_MODE="fixed" POSITION_MODE="fixed"
fi fi
[[ "$1" == "-d" ]] && POSITION_MODE=pointer
[ $(pidof picom) ] && MENU_RADIUS=$jgtools_radius [ $(pidof picom) ] && MENU_RADIUS=$jgtools_radius
[ -z $jgmenu_use_borders ] && menu_border=0 [ -z $jgmenu_use_borders ] && menu_border=0