Outputs window focus changes in X11
Can be used with node.js to log activity on x11 environments (unix, linux, ubuntu, etc.)
apt-get install python make gcc
(may requiresudo
privileges)npm install
const X11Emitter = require('./build/Release/x11-emitter');
X11Emitter(function (msg) {
// do something with msg json object
});