Restore after restart
After restarting your dwm all your windows/clients are all in one tag, first tag. Well no more, This patch save tag of every window/client to the file and after dwm is restarted the file is read and used to get all the windows/clients in their previous tags.
SESSION_FILE- path to the file which is used to store tags to all windows/clients
This patch is supposed be used along the restartsig, if you want use this patch with your own way how to restart dwm then put "saveSession()" before restarting dwm and put "restoreSession()" after dwm was restarted. Patch has been coded based on this debate. This patch is also hosted on my github.
- Viliam Kováč - email@example.com
Fake Internet money
If you like my work and want to support me by some fake internet money, here is my monero address