conky
conky copied to clipboard
audacious add buttons (Play, Pause, Stop, Previous Track and Nex Track) in conky
Hi, is it posibole to setup buttons in conky without using lua scripts?
lua_load ~/.conky/lua/image.lua
template1 ${lua rc_button {btype=3,bname="button1",blx_off=160,bly_off=196,bw_off=20,bh_off=20}} template2 ${lua rc_button {btype=3,bname="button2",blx_off=185,bly_off=196,bw_off=20,bh_off=20}} template3 ${lua rc_button {btype=3,bname="button3",blx_off=210,bly_off=196,bw_off=20,bh_off=20}} template4 ${lua rc_button {btype=3,bname="button4",blx_off=235,bly_off=196,bw_off=20,bh_off=20}} template5 ${lua rc_button {btype=3,bname="button5",blx_off=257,bly_off=196,bw_off=20,bh_off=20}}
I found this guide here: https://forums.bunsenlabs.org/viewtopic.php?id=3158
Buttons work? I did not even know. Perhaps someone could add some explanation to the wiki for conky - relying on external websites is problematic as these can be offline eventually and then that information is lost. StackOverflow has that problem.
Conky does not currently support mouse interactions.
What does mean this? It isn't possible to add buttons without using lua scripts.
Hi all, I have one more question for you. Audacious doesn't display all track numbers of all tracks. Test the below command.
Add the $ symbol first to the front of {color6} and {color9}:
{color6}Track Number: {color9}${alignr}${exec audtool --current-song-tuple-data track-number}
Mouse event support has been implemented in the meantime. Though it might have some bugs and quirks. Simple buttons should definitely work though and is preferable (more performant and portable) than relying on externals scripts for same functionality.
Something like widgets would be a good addition, but conky can now handle stuff that was previously handled externally (e.g. ConkyClicky) in a somewhat simpler way.
Mouse events have been added, most issues that arose from that addition have been fixed. This allows adding buttons to conky. There are still some improvements when it comes to passing these events through on the way.
Wayland support will be added in the future.