This repository has been archived on 2020-05-16 . You can view files and clone it, but cannot push or open issues or pull requests.
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
- C++ compiler (Tested: g++ 5/8)
- cmake
- pkgconfig
- libconfig++
- libxdg-basedir
Usage
Copy xdgcfg.hpp
into a folder where your project can find it.
mkdir build
cd build
cmake ..
make
make install
Documentation
xdgcfg.hpp
has explanatory comments in it and there is an
example. The reference is also available at
doc.schlomp.space/xdgcfg/.
Languages
C++
92.7%
CMake
3.7%
Shell
3.6%