> I use Scratchpad on my laptop which I often dock and undock with an 
> external monitor. When I do this awesome behaves similarly to a 
> restart and scratch loses the windows it was managing. Is there any 
> way to automatically re "drop" those windows after the restart?

Hi, right, it actually does a full restart and looses all variable data 
it had in memory. 

Basically you would want a data stor; be it a text file, a pickle file, 
empty file hierarchy in a directory, sqlite... what ever is simplest and 
cheapest to pull off in Lua with minimum fuss. There may even be a way 
to keep data in memory across restart which I don't know about.


I know I have seen persistence solutions many times in the last two 
years but I just can't remember where. It's either linked here[1] or 
someone from the awesome user mailing list can help you out with theirs, 
so I hope you don't mind I forwarded your mail there. 

1. http://awesome.naquadah.org/wiki/Main_Page

-- 
Adrian C. (anrxc) | anrxc..sysphere.org | PGP ID: D20A0618
PGP FP: 02A5 628A D8EE 2A93 996E  929F D5CB 31B7 D20A 0618

-- 
To unsubscribe, send mail to [email protected].

Reply via email to