xrescat
is a simple utility which prints the value of an X resource. It is based on xgetres
but does not add a linefeed, like cat
. xrescat
will also trim enveloping double-quotes from values.
$ cat ~/.Xresources
simple: 1
*wildcard: 2
$ xrescat simple
1$
$ xrescat foo.wildcard
2$
$
First make sure you have libx11.
In order to build, simply run:
$ make
Then in order to install, run:
$ sudo make install
Installation location is determined by the PREFIX
variable
(/usr/local
by default).