Polybar-Helpers
Polybar - Helpers to create plugin/module using NodeJS
Installation
This is a Node.js module available through the
npm registry. It can be installed using the
npm
or
yarn
command line tools.
npm install polybar-helpers --save
Usage
Config in polybar
; My Module
[module/test]
type = custom/script
exec = node App.js
click-left = echo left >> $HOME/.config/polybar/events
click-middle = echo middle >> $HOME/.config/polybar/events
click-right = echo right >> $HOME/.config/polybar/events
scroll-up = echo scrollUp >> $HOME/.config/polybar/events
scroll-down = echo scrollDown >> $HOME/.config/polybar/events
tail = true
App.js
const polybarHelpers =
Dependencies
- tail: tail a file in node
License
MIT