1.1.0 • Published 8 years ago
dzen2-bin v1.1.0
dzen2-bin
dzen2 binary as a Node module.
Install
npm install --save dzen2-binYou need GCC and make.
apt-get install build-essential should do the trick.
Usage
var dzenPath = require('dzen2-bin')
var spawn = require('child_process').spawn
var dzen = spawn(dzenPath, ['-dock', '-fn', 'monospace'])
dzen.stdin.write('hello world\n')