[Documentation]: add an example config for mouse events #2066
Labels
documentation
suggests documentation changes or improvements
enhancement
suggests alteration of existing functionality to better support different use cases
mouse events
related to mouse event handling
Currently we have an explanation on the wiki how mouse events work and how to get
them to work. This article can be found here:
https://github.com/brndnmtthws/conky/wiki/Mouse-Events
Now while it is great to have such an example, I don't want to copy/paste, fiddle around
and then end up with things not working. I know ruby fairly well, but not lua, and I don't
fully understand what I really should do.
Would it be possible to provide a small example for conky that is intrinsically complete,
that is, works out of the box, where ideally these key-events are showcased? This can be
super-simple, like a hello world, but just written in a way for people to:
a) just drop it and start it, as-is, without any modification
and
b) have it work for the basic stuff
I believe adding such a minimal example would be super-convenient for other users too;
and ideally the wiki article could be expanded to point where this example could be found,
perhaps under examples/ or config/ or some such.
I'd love to try this out, but after reading the wiki article, I still am not sure what to do. (I
should also point out that it has been quite a long while since I last touched any config
for conky, so this adds to my confusion; that's why I'd love a tabula rasa state in this
way. Then I can understand how it should work, and adjust it, e. g. also answering
things such as "how can I call a function or method in a specific file". Actually, can we
even call executables via such actions? Would be nice if the example file could also
show this, again, just a minimal example so we can learn the monkey-see-monkey-do
way. Thanks for reading!
(Also, it would be nice if we could have generic MACROS so that we could avoid having to
use lua, e. g. EXECUTE_FILE /usr/bin/funny_cats.rb - while that may look ugly, I would
ideally like to avoid having to use lua altogether.)
The text was updated successfully, but these errors were encountered: