Wrapper around libconfig that writes and reads files in the XDG configuration directory.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
tastytea 6c0976baa7
Updated drone recipe
1 month ago
src Fixed bug: Parent directories were only created if subdir was non-empty 1 month ago
.drone.yml Updated drone recipe 1 month ago
.gitignore Added documentation generation 4 months ago
CMakeLists.txt Updated drone recipe 1 month ago
Doxyfile Added documentation generation 4 months ago
README.md Added drone file 4 months ago
generate_doc.sh Added documentation generation 4 months ago

README.md

xdgcfg is a very simple wrapper around libconfig written in C++. It reads and writes files in ${XDG_CONFIG_HOME}. It creates subdirectories if necessary.

Dependencies

Usage

You can create dynamic and static libraries:

mkdir build
cd build
cmake ..
make
make install

Or just copy xdgcfg.hpp and xdgcfg.cpp into your project folder.

Documentation

xdgcfg.hpp has explanatory comments in it and there is an example. The reference is also available at doc.schlomp.space/xdgcfg/.