Skip to content

Latest commit

 

History

History
29 lines (19 loc) · 636 Bytes

README.md

File metadata and controls

29 lines (19 loc) · 636 Bytes

xrescat

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.

Example

$ cat ~/.Xresources
simple: 1
*wildcard: 2
$ xrescat simple
1$
$ xrescat foo.wildcard
2$
$

Build & installation

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