Help with LXlauncher menu
  • I used the lxlauncher and a script to make a graphical menu.


     the script...
    #!/bin/sh
    SERVICE='lxlauncher'
     
    if ps ax | grep -v grep | grep $SERVICE > /dev/null
    then
        pkill lxlauncher &
        wmctrl -k off &
    else
        wmctrl -k on &
    lxlauncher &
    fehlstart --one-way &
    #uncomment next line for tranperency without compositor
    #transset -n lxlauncher .65 &
    sleep 60 &&
    pkill lxlauncher &&
    wmctrl -k off &
    fi




    It is currently activated and deactivated by clicking on a launcher in the panel, it will also automatically deactivate after 60 seconds.

    My question, Is there a way to make it deactivate after clicking on an application in the lxlauncher? Not sure how or if it would even be possible. But any input would be appreciated.