Project

General

Profile

Configuration of sublets

Updated DSL - easy configuration
Added by Christoph Kappel about 9 years 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.

sublet :clock do
  interval       30
  format_string  "%H:%S" 
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