57

GitHub - jonrad/vim-hi-hue

 4 years ago
source link: https://github.com/jonrad/vim-hi-hue
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
neoserver,ios ssh client

README.md

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

Installation

  • Install 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 <ip> <token> <lights>
" 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?

68747470733a2f2f692e67697068792e636f6d2f6d656469612f6d43436c5353367862693875732f736f757263652e676966


About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK