Configuration of sublets

Updated DSL - easy configuration
Added by Christoph Kappel 2 months ago

Until now configuring a sublet was a silly task, you had to open the sublet itself and update the code. This changes with r2148: I've added a new DSL command that allows configuring of a sublet from the main config of subtle.

1 sublet :clock do
2   interval       30
3   format_string  "%H:%S" 
4 end

Currently there are only two sublets that support this new mechanism, but I will update my sublets asap. I will also add some more details in the notes section of the sublet to make it a b it easier to find what can be changed.


Comments