mirror of
https://github.com/make-42/xyosc
synced 2025-01-18 18:57:10 +01:00
yes
This commit is contained in:
parent
a81f476c8d
commit
9ae6b94b67
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user