Skip to content

Jorenar/libXDGdirs

Repository files navigation

libXDGdirs

A set of helpers for XDG Base Directory Specification

XDGBDS defines four categories of dotfiles and the corresponding directories in user's home directory that should be used for those. The categories are cache, configuration, data, state, and runtime files.

All those locations have corresponding XDG_* environment variables.

All paths set in them must be absolute.
If a relative path is encountered, the path is considered invalid and NULL is assigned.

Build

Download

Download the latest version from release page or clone Git repository for latest:

git clone https://github.com/Jorenar/libXDGdirs.git
cd libXDGdirs

Build

cmake -B build/ -DCMAKE_BUILD_TYPE=Release
cmake --build build/ --config=Release

Install

cmake --install build/

Usage

Refer to topics and examples in documentation

Read more

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Follow Lee on X/Twitter - Father, Husband, Serial builder creating AI, crypto, games & web tools. We are friends :) AI Will Come To Life!

Check out: eBank.nz (Art Generator) | Netwrck.com (AI Tools) | Text-Generator.io (AI API) | BitBank.nz (Crypto AI) | ReadingTime (Kids Reading) | RewordGame | BigMultiplayerChess | WebFiddle | How.nz | Helix AI Assistant