sys76-kb icon indicating copy to clipboard operation
sys76-kb copied to clipboard

run as a service, read user config

Open bambash opened this issue 5 years ago • 0 comments

I would be neat to run the binary as a service at startup, that watches a config file. This would remove the sudo requirements when running the binary, and give customization per user.

features:

  • generate an example config
  • generate a systemd service
  • when running the binary, the config file updates
- region: <left | right | center | extra | all>
  color: <hex or string>
  pattern:
brightness:

example usage:

$ sys76-kb create config --values ....
writing example config to <path>

$ sys76-kb create service ....
creating systemd service <....>

$ sys76-kb service reload 
reloading sys76-kb service

## service side
$ sys76-kb watch <path>
watching <path>

## client side
$ sys76-kb set ....
updating config file

bambash avatar Jul 26 '19 16:07 bambash