widget = luastatus.require_plugin('file-contents-linux').widget{ filename = "/tmp/bar_status", cb = function(f) -- show the first line of the file return string.format(" %s", f:read('*line')) end, }