Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/sidorares/node-i3

i3-ipc node.js client
https://github.com/sidorares/node-i3

Last synced: 7 days ago
JSON representation

i3-ipc node.js client

Awesome Lists containing this project

README

        

# node-i3
[i3-ipc](http://i3wm.org/docs/ipc.html) client for [node.js](http://nodejs.org)
Helps you to automate [i3 window manager](http://i3wm.org/docs/userguide.html)

[![NPM](https://nodei.co/npm/i3.png?downloads=true&stars=true)](https://nodei.co/npm/i3/)

## Install

npm install i3

## API

```js
var i3 = require('i3').createClient();
i3.command('focus left');
i3.on('workspace', function(w) {
console.log('workspace event!', w);
})
```

## LINKS
- [i3-ipc wire protocol documentation](http://i3wm.org/docs/ipc.html)
- [Another node.js client](https://github.com/badboy/node-i3)
- [Python client](https://github.com/ziberna/i3-py)
- [collection of helper python scripts](https://github.com/yiuin/i3-wm-scripts)

[![Bitdeli Badge](https://d2weczhvl823v0.cloudfront.net/sidorares/node-i3/trend.png)](https://bitdeli.com/free "Bitdeli Badge")