(From the project introduction) "i3blocks executes your command lines and generates a status line from their output."
As per the i3blocks config file, here is the syntax to get the time in the status :
[time]
label=any string or glyph
full_text=any string or glyph
command=date "+%a, %b %_d %Y %I:%M%P"
interval=5
And here is how you execute a GUI command on click:
[click]
full_text=Click me!
command=gsimplecal
color=#F79494
Both work, but how do I combine the two, that is, being able to click on the time to pop up the calendar? I tried this:
[clickable_time]
full_text=date "+%a, %b %_d %Y %I:%M%P"
command=gsimplecal
interval=5
But it doesn't work (the date string command is displayed, and gsimplecal gets executed every 5 seconds) so obviously a workaround must be found..?