Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/abrander/status
Luxafor Flag CLI tool to show availability
https://github.com/abrander/status
Last synced: about 1 month ago
JSON representation
Luxafor Flag CLI tool to show availability
- Host: GitHub
- URL: https://github.com/abrander/status
- Owner: abrander
- Created: 2020-01-28T13:06:49.000Z (almost 5 years ago)
- Default Branch: master
- Last Pushed: 2020-10-29T20:43:36.000Z (about 4 years ago)
- Last Synced: 2024-06-19T04:28:15.544Z (7 months ago)
- Language: Go
- Size: 1000 Bytes
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# status
This is a simple Linux CLI tool to control a Luxafor Flag. It can
display the color red or the color green.## Setup and installation
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.
```bash
$ go install github.com/abrander/status
```# Usage
`status` 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.