gruik

Fork of GCU-Squad's RSS-to-IRC bridge
git clone https://git.instinctive.eu/gruik.git
Log | Files | Refs | README | LICENSE

commit a7d80c4be3d140958c597d0175970099ad0ece5b
parent a6e5581aea2a02962856d4b4772afeb980161dc6
Author: Emile 'iMil' Heitor <imil@NetBSD.org>
Date:   Fri, 14 Jul 2023 11:04:21 +0200

fix: better colors

Diffstat:
Mmain.go | 4++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/main.go b/main.go @@ -55,7 +55,7 @@ func getNewsByHash(hash string) News { } func fmtNews(news News) string { - return fmt.Sprintf("[{%s}%s{c}] {%s}%s{c} {%s}%s{c} {%s}#%s{c}", + return fmt.Sprintf("[{%s}%s{r}] {%s}%s{r} {%s}%s{r} {%s}#%s{r}", viper.GetString("irc.colors.origin"), news.Origin, viper.GetString("irc.colors.title"), @@ -170,7 +170,7 @@ func confDefault() { "irc.colors.origin": "pink", "irc.colors.title": "bold", "irc.colors.link": "lightblue", - "irc.colors.hash": "gray", + "irc.colors.hash": "lightgrey", "feeds.urls": []string{}, "feeds.maxnews": 10, "feeds.maxage": "1h",