adriwitek / xeventbind

A small utillity that runs your script on X11 events

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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.

About

A small utillity that runs your script on X11 events

License:MIT License


Languages

Language:C 97.2%Language:Makefile 2.8%