[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

13.3 StumpWM’s Data Directory

If you want to store StumpWM data between sessions, the recommended method is to store them in ‘~/.stumpwm.d/’. StumpWM supplies some functions to make doing this easier.

Variable: *data-dir*

The directory used by stumpwm to store data between sessions.

Function: data-dir-file name &optional type

Return a pathname inside stumpwm’s data dir with the specified name and type

@ data-dir-file

Macro: with-data-file (s file &rest keys &key (if-exists supersede) &allow-other-keys) &body body

Open a file in StumpWM’s data directory. keyword arguments are sent directly to OPEN. Note that IF-EXISTS defaults to :supersede, instead of :error.


This document was generated on January 28, 2024 using texi2html 1.82.