github.com/wtfutil/wtf@v0.43.0/_sample_configs/sample_config.yml (about)

     1  wtf:
     2    colors:
     3      background: black
     4      border:
     5        focusable: darkslateblue
     6        focused: orange
     7        normal: gray
     8      checked: yellow
     9      highlight:
    10        fore: black
    11        back: gray
    12      rows:
    13        even: yellow
    14        odd: white
    15    grid:
    16      # How _wide_ the columns are, in terminal characters. In this case we have
    17      # four columns, each of which are 35 characters wide.
    18      columns: [35, 35, 35, 35]
    19      # How _high_ the rows are, in terminal lines. In this case we have four rows
    20      # that support ten line of text and one of four.
    21      rows: [10, 10, 10, 10, 4]
    22    refreshInterval: 1
    23    openFileUtil: "open"
    24    mods:
    25      # You can have multiple widgets of the same type.
    26      # The "key" is the name of the widget and the type is the actual
    27      # widget you want to implement.
    28      europe_time:
    29        title: "Europe"
    30        type: clocks
    31        colors:
    32          rows:
    33            even: "lightblue"
    34            odd: "white"
    35        enabled: true
    36        locations:
    37          GMT: "Etc/GMT"
    38          Amsterdam: "Europe/Amsterdam"
    39          Berlin: "Europe/Berlin"
    40          Barcelona: "Europe/Madrid"
    41          Copenhagen: "Europe/Copenhagen"
    42          London: "Europe/London"
    43          Rome: "Europe/Rome"
    44          Stockholm: "Europe/Stockholm"
    45        position:
    46          top: 0
    47          left: 0
    48          height: 1
    49          width: 1
    50        refreshInterval: 15
    51        sort: "alphabetical"
    52      americas_time:
    53        title: "Americas"
    54        type: clocks
    55        colors:
    56          rows:
    57            even: "lightblue"
    58            odd: "white"
    59        enabled: true
    60        locations:
    61          UTC: "Etc/UTC"
    62          Vancouver: "America/Vancouver"
    63          New_York: "America/New_York"
    64          Sao_Paulo: "America/Sao_Paulo"
    65          Denver: "America/Denver"
    66          Iqaluit: "America/Iqaluit"
    67          Bahamas: "America/Nassau"
    68          Chicago: "America/Chicago"
    69        position:
    70          top: 0
    71          left: 1
    72          height: 1
    73          width: 1
    74        refreshInterval: 15
    75        sort: "alphabetical"
    76      battery:
    77        type: power
    78        title: "⚡️"
    79        enabled: true
    80        position:
    81          top: 1
    82          left: 3
    83          height: 1
    84          width: 1
    85        refreshInterval: 15
    86      todolist:
    87        type: todo
    88        checkedIcon: "X"
    89        colors:
    90          checked: gray
    91          highlight:
    92            fore: "black"
    93            back: "orange"
    94        enabled: true
    95        filename: "todo.yml"
    96        position:
    97          top: 1
    98          left: 0
    99          height: 2
   100          width: 1
   101        refreshInterval: 3600
   102      ip:
   103        type: ipinfo
   104        title: "My IP"
   105        colors:
   106          name: "lightblue"
   107          value: "white"
   108        enabled: true
   109        position:
   110          top: 0
   111          left: 2
   112          height: 1
   113          width: 2
   114        refreshInterval: 150
   115      security_info:
   116        type: security
   117        title: "Staying safe"
   118        enabled: true
   119        position:
   120          top: 1
   121          left: 2
   122          height: 1
   123          width: 1
   124        refreshInterval: 3600
   125      readme:
   126        type: textfile
   127        enabled: true
   128        filePaths:
   129          - "~/.config/wtf/config.yml"
   130        format: true
   131        formatStyle: "monokai"
   132        position:
   133          top: 1
   134          left: 1
   135          height: 1
   136          width: 1
   137        refreshInterval: 15
   138      news:
   139        type: hackernews
   140        title: "HackerNews"
   141        enabled: true
   142        numberOfStories: 10
   143        position:
   144          top: 2
   145          left: 1
   146          height: 1
   147          width: 3
   148        storyType: top
   149        refreshInterval: 900
   150      resources:
   151        type: resourceusage
   152        enabled: true
   153        position:
   154          top: 3
   155          left: 0
   156          height: 2
   157          width: 1
   158        refreshInterval: 1
   159      uptime:
   160        type: cmdrunner
   161        args: []
   162        cmd: "uptime"
   163        enabled: true
   164        position:
   165          top: 4
   166          left: 1
   167          height: 1
   168          width: 3
   169        refreshInterval: 30
   170      disks:
   171        type: cmdrunner
   172        cmd: "df"
   173        args: ["-h"]
   174        enabled: true
   175        position:
   176          top: 3
   177          left: 1
   178          height: 1
   179          width: 3
   180        refreshInterval: 3600