Skip to content

Latest commit

 

History

History
54 lines (48 loc) · 1.11 KB

advanced.md

File metadata and controls

54 lines (48 loc) · 1.11 KB
title date draft
Multiple Instances of a Widget
2020-04-26 20:39:16 +0530
false

Advanced

!!! tip wtf-tui by @ggerganov is a graphical configuration maker for WTFUtil that runs in your terminal. You might find this easier than configuring YAML by hand.

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: 1h
  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: 1h
  type: todo