From 86469c9b60558d29ea593865efef9c411f5b1ce0 Mon Sep 17 00:00:00 2001 From: Maarten van Gompel Date: Sun, 1 Nov 2020 13:01:21 +0100 Subject: [PATCH] applied the same logic to the system menu: fix crash on open menu if already open --- scripts/core/sxmo_gesturehandler.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/core/sxmo_gesturehandler.sh b/scripts/core/sxmo_gesturehandler.sh index 13d50ab..673b13a 100755 --- a/scripts/core/sxmo_gesturehandler.sh +++ b/scripts/core/sxmo_gesturehandler.sh @@ -79,7 +79,7 @@ if [ "$HANDLE" -ne 0 ]; then pidof dmenu || sxmo_appmenu.sh & ;; "showsysmenu") - sxmo_appmenu.sh sys & + pidof dmenu || sxmo_appmenu.sh sys & ;; "hidemenu") pkill -9 dmenu