mb-places -d

This commit is contained in:
Daniel Napora 2024-10-03 10:37:08 +02:00
parent aee69edc40
commit 72fcf6e7ba

View File

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