diff options
| author | hhvn <dev@hhvn.uk> | 2023-11-19 15:35:56 +0000 |
|---|---|---|
| committer | hhvn <dev@hhvn.uk> | 2023-11-19 15:35:56 +0000 |
| commit | 0f4869662c6ea6f5d4b976d5ff95b12d2f1cf198 (patch) | |
| tree | c26e95d65cbcaaf076e7b6d9d0f1c937a3e693b7 /status | |
| parent | d5ffccc1b4499e01ebb8d727c4651856894e154f (diff) | |
Variadic drw.Blend
Diffstat (limited to 'status')
| -rw-r--r-- | status/00-status.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/status/00-status.go b/status/00-status.go index 6fcaf33..3543d0b 100644 --- a/status/00-status.go +++ b/status/00-status.go @@ -88,11 +88,11 @@ func sleep(s int) { } func blendGYR(percent int) color.Color { - return drw.Blend3(config.Green, config.Yellow, config.Red, percent) + return drw.Blend(percent, config.Green, config.Yellow, config.Red) } func blendBg(c color.Color) color.Color { - return drw.Blend(c, config.Status, 75) + return drw.Blend(75, c, config.Status) } func (s *status) furthest(x int) { |