From 72fcf6e7bae94bcd794bf8e776e12a31fc8e4cac Mon Sep 17 00:00:00 2001 From: Daniel Napora Date: Thu, 3 Oct 2024 10:37:08 +0200 Subject: [PATCH] mb-places -d --- usr/bin/mb-places | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/usr/bin/mb-places b/usr/bin/mb-places index fb1f99d..50bcde3 100755 --- a/usr/bin/mb-places +++ b/usr/bin/mb-places @@ -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