You are not logged in.
Hello, At the moment I have this at the bottom of my lua.rc (awesome config file)
run_once("name of app")
i was wondering what is the best way in lua to
A) check if app is already running and it it is do nothing
B) if it is not running start it
Anyonw use Awesome/and or is good at lua?
You can like linux without becoming a fanatic!
Offline
Look at the wiki on the Awesome homepage; you want the "Run or Raise" entry.
Offline
I think he is talking about startup programs ![]()
Offline
I think he is talking about startup programs
Yep, I mean starting up apps not going to a tab with an app on it etc
Anyway I found the info I wanted on the Awesome page but in the end did it a simper way without using lua code.
Last edited by chickenPie4tea (2012-09-02 05:46:17)
You can like linux without becoming a fanatic!
Offline