Skip to content

joao-vitor-sr/ctx

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ctx

ctx is a script to convert variables in a file into a xrdb based content

Install

If on linux and installed using make, run sudo make uninstall first

  1. 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

Usage

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