Displays the contents of the WTF log file. The log file is located at ~/.config/wtf/log.txt.


To log to this file in your own modules:

require "github.com/wtfutil/wtf/logger"
logger.Log("This is a log entry")


  enabled: true
    top: 5
    left: 4
    height: 2
    width: 1
  refreshInterval: 1
Name Description Value
border Optional Whether or not to draw this widget with a border. Default: true. true, false
enabled Optional Whether or not this module is executed and if its data displayed onscreen. Default: false. true, false
position Defines where in the grid this module’s widget will be displayed.
refreshInterval Optional How often, in seconds, this module will update its data. Default: 300. Any positive integer.

Keyboard Commands

Arrow keys scroll through the log file.

Source Code