Skip to content

Latest commit

 

History

History
26 lines (17 loc) · 434 Bytes

readme.md

File metadata and controls

26 lines (17 loc) · 434 Bytes

dzen2-bin

dzen2 binary as a Node module.

Install

npm install --save dzen2-bin

You 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')

License

MIT