ctx is a script to convert variables in a file into a xrdb based content
If on linux
and installed using make, run sudo make uninstall
first
- Run the following commands
git clone https://github.com/joao-vitor-sr/ctx
cd ctx
sudo make install doc
- If you wish to not install documentation (highly unrecommended) run
sudo make install
instead
To use on a config file run ctx path/to/config_file.ini path/to/output_file.ini
the config file filetype can be of any type
The config file
[general]
background-color = $xrdb.*background:
key = 1234
The output file
[general]
background-color = #000 (This color is defined by the Xresources file)
key = 1234