sites

public wiki contents of suckless.org
git clone git://git.suckless.org/sites
Log | Files | Refs

index.md (1349B)


      1 Restore after restart
      2 =====================
      3 
      4 Description
      5 -----------
      6 After restarting your dwm all your windows/clients are all in one tag, first tag.
      7 Well no more, This patch save tag of every window/client to the file and after dwm is restarted
      8 the file is read and used to get all the windows/clients in their previous tags.
      9 
     10 Configuration Options
     11 ---------------------
     12 * `SESSION_FILE` - path to the file which is used to store tags to all windows/clients
     13 
     14 Notes
     15 -----
     16 This patch is supposed be used along the [restartsig](../restartsig/index.md), if you want use this patch with your own 
     17 way how to restart dwm then put "saveSession()" before restarting dwm and put "restoreSession()" after
     18 dwm was restarted. 
     19 Patch has been coded based on [this debate](https://bbs.archlinux.org/viewtopic.php?id=196975).
     20 This patch is also hosted on my [github](https://github.com/ViliamKovac1223/dwm-ViliamKovac1223-build/tree/main/patches).
     21 
     22 Download
     23 --------
     24 * [dwm-restoreafterrestart-20220709-d3f93c7.diff](dwm-restoreafterrestart-20220709-d3f93c7.diff)
     25 
     26 Authors
     27 -------
     28 * Viliam Kováč - viliamkovac1223@gmail.com
     29 
     30 Fake Internet money
     31 -------------------
     32 If you like my work and want to support me by some fake internet money, here is my monero address
     33 
     34 8722XFCUGajWxpdKQY4V2ije88Ti2v97VWLS9p9rvNTcWd7VisuKQzvQYNan37jYnv7thECLkrnbm6CKdA2jhdFFTLV8nav