Closed dvejmz closed 7 years ago
Thank you for your contribution. This looks great. I was thinking to add a config file. It will be good bases to also configure s-tui itself. (e.g what sensors/graphs to show). I will test this on a few systems before approving
This PR provides a working MVP solution to close #25.
The following functionality has been added:
$XDG_CONFIG_HOME/s-tui
or~/.config/s-tui
if$XDG_CONFIG_HOME
is not set.hooks.d
directory in app config location to add threshold scripts.Hook
base class. This should become the base class for all types of hooks.ScriptHook
wrapper class to run shell scripts located underhooks.d
Source
parent class so that hooks can be added to any sourceTemperatureSource
script hook.Enhancements for future iterations not included in this PR: