From 9ae6b94b676005a9df408a711aa9b79ac9aba2df Mon Sep 17 00:00:00 2001 From: Louis Dalibard Date: Thu, 16 Jan 2025 21:52:14 +0100 Subject: [PATCH] yes --- config/config.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/config/config.go b/config/config.go index 4117b8b..9e35efd 100644 --- a/config/config.go +++ b/config/config.go @@ -36,6 +36,7 @@ type ConfigS struct { ParticleMaxSize float32 ParticleAcceleration float32 ParticleDrag float32 + DefaultToSingleChannel bool } var DefaultConfig = ConfigS{ @@ -61,6 +62,7 @@ var DefaultConfig = ConfigS{ ParticleMaxSize: 2.0, ParticleAcceleration: 0.015, ParticleDrag: 5.0, + DefaultToSingleChannel: false, } var Config ConfigS @@ -99,6 +101,7 @@ func Init() { decoder := yaml.NewDecoder(fh) decoder.Decode(&Config) + SingleChannel = Config.DefaultToSingleChannel } // Get pywal accent color