Skip to content

goto-bus-stop/dzen2-bin

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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