Open friedow opened 8 months ago
@lassulus anything else wanted for the config file?
something to configure what items are shown and which actions they trigger? maybe something like this in nix style:
{
hello = {
action = "echo hello world";
text = "hello"; # defaults to attrname
};
DNS = {
action = "echo nameserver 8.8.8.8 > etc/resolv.conf";
textScript = "cat /etc/resolv.conf | tail -1"; # will show this as label in the list, maybe updates it every X seconds?
};
}
This sounds like the config part of https://github.com/friedow/centerpiece/issues/18.
Add a configuration file and configuration options including sane defaults for current plugins.
Here are some configuration options we could start with: