maximbaz / wluma

Automatic brightness adjustment based on screen contents and ALS
ISC License
665 stars 28 forks source link

[Feature request]: Pass config file as a commandline argument #115

Open aktaboot opened 2 months ago

aktaboot commented 2 months ago

Please describe your feature request

Having this feature would make it more convenient to run it as a system-wide service.

maximbaz commented 2 months ago

Just to add that in order to achieve running it as a system-wide service, more changes would be needed, e.g. wluma stores training data in $XDG_DATA_HOME.

https://github.com/maximbaz/wluma/blob/8df0b8e2c04c9e7bf0a5f560d59e29786cc5be8e/src/predictor/data.rs#L58-L59

May I ask what is your motivation for running it as a system-wide service?