Skip to content

Advanced

Multiple Instances of the Same Widget

To add more than one instance of a particular widget, for example, if you want two Todo widgets, you can do so by adding the type property to the entries in your config.yml file. Below is an example for Todo:

home_todo:
  checkedIcon: "X"
  colors:
    checked: gray
    highlight:
      fore: "black"
      back: "orange"
  enabled: true
  filename: "todo.yml"
  position:
    top: 0
    left: 0
    height: 2
    width: 2
  refreshInterval: 3600
  type: todo
work_todo:
  checkedIcon: "X"
  colors:
    checked: gray
    highlight:
      fore: "black"
      back: "orange"
  enabled: true
  filename: "todo.yml"
  position:
    top: 0
    left: 2
    height: 2
    width: 2
  refreshInterval: 3600
  type: todo