-
Notifications
You must be signed in to change notification settings - Fork 4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Override actions #3
Comments
Would it be easier to extend the definitions to include more versions of linux/gnome? |
@blainesch how are you suggesting to extend?. Some commands can't be generically applied to all linux distros / window managers / etc.
|
Looks like maybe it could be located through env vars.. Might have to get clever though to actually get at these as I am not sure they would be set in the zazu node processes I wonder if it would be possible to run the @blainesch does this seem overly complicated? Maybe there is an easier way? |
Just saw #2 I didn't know that command existed. Do you think that will work for most use cases @marcosnils |
It's not only about the window manager. Some different combinations of greeters / screensavers could also be used within the same window manager which are not controlled by env vars.
Yes. That's far more generic than the gnome specific one. I still believe the best option would be to allow users to configure their "actions" through the plugin configuration. Eventually the plugin could be extended to add new system commands which could be persisted in the DB |
I'd prefer this: {
"name": "tinytacoteam/zazu-system",
"variables": {
"screensaver": "<my sreensaver command>"
}
} So without the |
@blainesch got it. I'll try to send a PR if I have some time. |
yeah, this is a must, not everyone uses gnome screensaver ... |
Some actions are very specific like linux gnome stuff .
I was thinking about to add
variables
to this plugin so it configured something like this:The thing is that as the commands are defined in the UserScript plugin https://github.com/tinytacoteam/zazu-system/blob/master/process.js#L14 I think there's no way to forward the
variables
to that output plugin.I was thinking to move the
commands
definitions into theactions.js
file https://github.com/tinytacoteam/zazu-system/blob/master/actions.json which will allow to use theenv
parameters to override.WDYT?
The text was updated successfully, but these errors were encountered: