This is a simple Linux CLI tool to control a Luxafor Flag. It can display the color red or the color green.
Add the following to /etc/udev/rules.d/luxafor.rules to enable Flag
access for all users.
SUBSYSTEM=="usb", ATTR{idVendor}=="04d8", ATTR{idProduct}=="f372" MODE="0666"
udev can be restarted like this:
$ sudo udevadm control --reload
$ sudo udevadm trigger
If you're compiling from source, you will require a working Go environment.
$ go install github.com/abrander/statusstatus can either turn the flag red, green og off.
Use status red to turn the flag red.
Use status green to turn the flag green.
Use status off to turn the flag off.