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

This commit is contained in:
Maarten van Gompel 2020-11-01 13:01:21 +01:00
parent c1aa407414
commit 86469c9b60

View file

@ -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