diff --git a/README.md b/README.md index b7d4838..306e535 100644 --- a/README.md +++ b/README.md @@ -29,4 +29,10 @@ commands: - `/me [is listening to music]`: IRC `/me` alike - `/poll [n]`: change polling interval, if no arguments, poll manually +## won't support (yet) + +- sixel (tried, it seems to be complicated to get it to work with Vaxis' pager + widget) + [Nanochat]: https://git.phial.org/d6/nanochat +[Vaxis]: https://git.sr.ht/~rockorager/vaxis diff --git a/display.go b/display.go index c870009..7869600 100644 --- a/display.go +++ b/display.go @@ -43,7 +43,7 @@ func (app *App) Redraw() { delimiterStyle := vaxis.Style{Attribute: vaxis.AttrDim} if app.conn != nil { - titleString := fmt.Sprintf("%s:%s", app.host, app.port) + titleString := fmt.Sprintf("nanite (%s:%s)", app.host, app.port) app.vx.SetTitle(titleString) rateString := "manual" @@ -53,7 +53,7 @@ func (app *App) Redraw() { segments := []vaxis.Segment{ {Text: "• "}, - {Text: titleString, Style: titleStyle}, + {Text: app.host, Style: titleStyle}, {Text: " │ ", Style: delimiterStyle}, {Text: fmt.Sprintf("↻ %s", rateString)}, } diff --git a/main.go b/main.go index cc1f0dc..eb63325 100644 --- a/main.go +++ b/main.go @@ -170,7 +170,7 @@ func (app *App) AppendMessage(data string) { } func (app *App) AppendSystemMessage(format string, args ...any) { - st := vaxis.Style{Attribute: vaxis.AttrDim | vaxis.AttrItalic} + st := vaxis.Style{Foreground: vaxis.ColorGray, Attribute: vaxis.AttrDim} app.pager.Segments = append(app.pager.Segments, vaxis.Segment{Text: "* ", Style: st}, vaxis.Segment{Text: fmt.Sprintf(format, args...), Style: st},