awesome-client
v1.0.0
Published
Thin wrapper around awesome-client command that enables interaction with Awesome WM.
Downloads
7
Maintainers
Readme
awesome-client
Thin wrapper around awesome-client command that enables interaction with Awesome WM.
Installation
Install with [npm](https://www.npmjs.org/package/awesome-client):
$ npm install --save awesome-client
API
var awesomeClient = require('awesome-client');
// restarts awesome
awesomeClient('awesome.restart()');
// same, but enables error checking
// if it failed, the err object will be an instance of Error
awesomeClient('awesome.restart()', function(err) {
console.log(err);
});