mfreeborn / heliocron

A command line application written in Rust capable of delaying execution of other programs for time periods relative to sunrise and sunset.
Apache License 2.0
241 stars 11 forks source link

Read config from `/etc` #33

Closed planetmarshall closed 2 years ago

planetmarshall commented 3 years ago

Might be useful to read a configuration file from standard locations such as /etc and /usr/local/etc. Would submit a PR myself but don't speak Rust!

mfreeborn commented 3 years ago

I think I'm happy with the default config location to be in ~/.config, but perhaps what I could do is add a --config option where the user can specify the path to the config file.

planetmarshall commented 3 years ago

Just wanted to say thanks for writing this - such a simple idea but really useful. Currently have it activating and deactivating my Solar PV monitoring software.