/xeventbind

A small utillity that runs your script on X11 events

Primary LanguageCMIT LicenseMIT

xeventbind

A small utility that runs your executable/script when interesting X11 events are fired.

Compilation

Requires xlib

git clone https://github.com/ritave/xeventbind.git
cd xeventbind
make

Usage

./xeventbind your_event your_executable

When an X event is posted, your executable will be run, remember to make it executable and have shebang line.

Right now the only event supported is resolution change as this utillity was written for my own use-case. More might be added if anyone needs them.