Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

https://github.com/ritave/xeventbind

A small utillity that runs your script on X11 events
https://github.com/ritave/xeventbind

Last synced: 7 days ago
JSON representation

A small utillity that runs your script on X11 events

Lists

README

        

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