1
0
mirror of https://github.com/taigrr/wtf synced 2025-01-18 04:03:14 -08:00

Security module now displays logged-in users

This commit is contained in:
Chris Cummer
2018-05-22 17:51:59 -07:00
parent efaccc83ae
commit 38cf1d5632
10 changed files with 84 additions and 52 deletions

View File

@@ -23,12 +23,14 @@ type Widget struct {
func NewWidget() *Widget {
widget := Widget{
TextWidget: wtf.NewTextWidget(" 🏃 Runner ", "cmdrunner", true),
TextWidget: wtf.NewTextWidget(" 🏃 Runner ", "cmdrunner", false),
args: wtf.ToStrs(Config.UList("wtf.mods.cmdrunner.args")),
cmd: Config.UString("wtf.mods.cmdrunner.cmd"),
}
widget.View.SetWrap(true)
return &widget
}