Skip to content

A small utillity that runs your script on X11 events

License

Notifications You must be signed in to change notification settings

ritave/xeventbind

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.