Does awesome window manager set some kind of flag during restart. I've some autostart commands in rc.lua
and they are executed every time I restart the window manager.
How can I determine in the rc.lua
if the file execution is done because of a restart?