@fatso83/luxafor-cli
> Simple CLI for dispatching commands to your Luxafor
Last updated 2 years ago by fatso83 .
ISC · Original npm · Tarball · package.json
$ cnpm install @fatso83/luxafor-cli 
SYNC missed versions from official npm registry.

Control your Luxafor

Simple CLI for dispatching commands to your Luxafor

Pull requests welcome

usage

$ luxafor-cli --help

  Usage: luxafor-cli [options]

  Options:

    -V, --version                  output the version number
    -c, --color <color|r,g,b|off>  Example: `-c red`, `-c 255,0,255`
    -l, --list                     Lists available colors
    -b, --blink <r,g,b>            Blink a rgb color
    -v, --verbose                  Verbose output
    -h, --help                     output usage information

Usage: luxafor-cli -c red 

install

# needed for building on linux
sudo apt-get install build-essential libudev-dev

npm install @fatso83/luxafor-cli

Example use

Start and end a pomodoro

Add this to your .bashrc

pomodoro () 
{ 
    local LEN=$1;
    sudo luxafor-cli -c red;
    sleep $LEN;
    sudo luxafor-cli --blink 255,0,200;
    sleep 2;
    sudo luxafor-cli -c green;
    echo "Pomodoro finished"
}

Current Tags

  • 1.0.3                                ...           latest (2 years ago)

6 Versions

  • 1.0.3                                ...           2 years ago
  • 1.0.2-public2                                ...           2 years ago
  • 1.0.2-public                                ...           2 years ago
  • 1.0.2                                ...           2 years ago
  • 1.0.1                                ...           2 years ago
  • 1.0.0                                ...           2 years ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 7
Last Day 0
Last Week 7
Last Month 5
Dependencies (4)
Dev Dependencies (0)
None
Dependents (0)
None

Copyright 2014 - 2016 © taobao.org |