Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/jonrad/vim-hi-hue
https://github.com/jonrad/vim-hi-hue
Last synced: 3 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/jonrad/vim-hi-hue
- Owner: jonrad
- Created: 2019-12-27T03:57:47.000Z (almost 5 years ago)
- Default Branch: master
- Last Pushed: 2020-01-10T03:56:32.000Z (almost 5 years ago)
- Last Synced: 2024-11-05T07:42:04.442Z (about 2 months ago)
- Language: Vim script
- Size: 16.2 MB
- Stars: 30
- Watchers: 2
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# vim-hi-hue
Integrate vim with your home lighting system, because you can. Changes the color based on the foreground color underneath your cursor. Only works with Philips Hue bulbs.
## Demo
![Demo](demo/demo.gif)
## Installation
* Install [hueadm](https://github.com/bahamas10/hueadm) and follow directions to get hueadm connected to your lights. hueadm must also be in your path. Generate a user token and record it.
* Install vim-hi-hue with your favorite plugin manager. Eg:
```
Plug 'jonrad/vim-hu-hue'
```
* Start using HiHueToggleOn by supplying the ip address of your bridge, the user token generated previously and the number of the lights you want to updated (may be more than one, but separate using a comma and no spaces)
```
HiHueToggleOn
" eg:
" HiHueToggleOn 192.168.0.123 f28jfl3gtltQw4r4gKLEtVFsfJcBGE87A1RaAXgt 1,2,7
```
* After the 30 seconds it takes you to get sick of it, turn off using:
```
HiHueToggleOff
```## Final thoughts
This isn't meant to be used in production or really anywhere.
The performance of getting the current color under the cursor is terrible.
Also, why?