1.0.0 • Published 9 years ago

awesome-client v1.0.0

Weekly downloads
2
License
MIT
Repository
github
Last release
9 years ago

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);
});