mirror of
https://github.com/gryf/wmaker.git
synced 2026-01-09 07:14:18 +01:00
The FreeDesktop XDG standard suggests storing history in the directory pointed by $XDG_STATE_HOME; so if we find it is defined we prefer to use it over the default path. If undefined, keep the old behaviour. This may introduce a loss of history for users that had some in the legacy place but have the variable, we consider this very unlikely to be a problem but if user complains we can suggest them to move the legacy file over the empty new one.
46 KiB
46 KiB