From 1c72c71e817b512445b9dfdb23090d018c295e16 Mon Sep 17 00:00:00 2001 From: Chris Cummer Date: Wed, 18 Apr 2018 15:21:36 -0700 Subject: [PATCH] Icon for textfile title --- textfile/widget.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/textfile/widget.go b/textfile/widget.go index 5c76e60d..13918ef6 100644 --- a/textfile/widget.go +++ b/textfile/widget.go @@ -21,7 +21,7 @@ type Widget struct { func NewWidget() *Widget { widget := Widget{ - TextWidget: wtf.NewTextWidget("TextFile", "textfile"), + TextWidget: wtf.NewTextWidget(" Text File ", "textfile"), FilePath: Config.UString("wtf.mods.textfile.filepath"), } @@ -37,7 +37,7 @@ func (widget *Widget) Refresh() { return } - widget.View.SetTitle(fmt.Sprintf(" %s ", widget.FilePath)) + widget.View.SetTitle(fmt.Sprintf(" 📄 %s ", widget.FilePath)) widget.RefreshedAt = time.Now() widget.View.Clear()