applied the same logic to the system menu: fix crash on open menu if already open

master
Maarten van Gompel 4 years ago
parent c1aa407414
commit 86469c9b60
  1. 2
      scripts/core/sxmo_gesturehandler.sh

@ -79,7 +79,7 @@ if [ "$HANDLE" -ne 0 ]; then
pidof dmenu || sxmo_appmenu.sh & pidof dmenu || sxmo_appmenu.sh &
;; ;;
"showsysmenu") "showsysmenu")
sxmo_appmenu.sh sys & pidof dmenu || sxmo_appmenu.sh sys &
;; ;;
"hidemenu") "hidemenu")
pkill -9 dmenu pkill -9 dmenu

Loading…
Cancel
Save