Skip to content

Simple utility which prints the value of an X resource

License

Notifications You must be signed in to change notification settings

tamirzb/xgetres

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

xgetres

xgetres is a simple utility which prints the value of an X resource.

Example

$ cat ~/.Xresources
simple: 1
*wildcard: 2
$ xgetres simple
1
$ xgetres 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), you can specify a different location like this:

$ sudo make install PREFIX=/app