Socket
Socket
Sign inDemoInstall

@fatso83/luxafor-cli

Package Overview
Dependencies
13
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    @fatso83/luxafor-cli

> Simple CLI for dispatching commands to your Luxafor


Version published
Weekly downloads
1
Maintainers
1
Created
Weekly downloads
 

Readme

Source

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"
}

FAQs

Last updated on 27 Sep 2018

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc