Fix bug - right-most separator never displayed

This commit is contained in:
eleksir
2026-03-31 00:09:19 +03:00
parent 5750894336
commit 8f3f6c77bd

View File

@@ -194,7 +194,7 @@ func main() {
b.FullText = app.FullText
if num == len(Conf.Apps) {
if num == len(Conf.Apps)-1 {
b.FullText = fmt.Sprintf(
"<span color='%s' background='%s' font='%s' size='%s'>%s</span>",
Conf.AppButtons.Separator.Right.Color,
@@ -641,3 +641,5 @@ func PrintToI3bar(c *lib.MyConfig) {
fmt.Println(strings.TrimSuffix(buf.String(), "\n") + ",")
}
}
/* vim: set ft=go noet ai ts=4 sw=4 sts=4: */