Restore after restart

Description

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.

Configuration Options

Notes

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.

Download

Authors

Fake Internet money

If you like my work and want to support me by some fake internet money, here is my monero address

8722XFCUGajWxpdKQY4V2ije88Ti2v97VWLS9p9rvNTcWd7VisuKQzvQYNan37jYnv7thECLkrnbm6CKdA2jhdFFTLV8nav