From 95356ed54761f0ba71d2acc2658cd96de83b8774 Mon Sep 17 00:00:00 2001 From: eleksir Date: Tue, 16 Jan 2024 21:19:17 +0300 Subject: [PATCH] Set block right separator size correctly, according config --- config.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/config.go b/config.go index bec7ae5..140cb75 100644 --- a/config.go +++ b/config.go @@ -743,14 +743,14 @@ func readConf() (MyConfig, error) { } else { matched, err := regexp.MatchString( `^(xx-small|x-small|small|medium|large|x-large|xx-large|smaller|larger)$`, - sampleConfig.Clock.Separator.Right.FontSize, + sampleConfig.Mem.Separator.Right.FontSize, ) if err != nil { log.Printf( "Unable to set sampleConfig.Mem.Separator.Right.FontSize: %s, fallback to %s", err, - sampleConfig.Clock.Separator.Right.FontSize, + sampleConfig.Mem.Separator.Right.FontSize, ) sampleConfig.Mem.Separator.Right.FontSize = sampleConfig.Separator.Right.FontSize