summaryrefslogtreecommitdiff
path: root/status/00-status.go
diff options
context:
space:
mode:
authorhhvn <dev@hhvn.uk>2023-11-19 15:35:56 +0000
committerhhvn <dev@hhvn.uk>2023-11-19 15:35:56 +0000
commit0f4869662c6ea6f5d4b976d5ff95b12d2f1cf198 (patch)
treec26e95d65cbcaaf076e7b6d9d0f1c937a3e693b7 /status/00-status.go
parentd5ffccc1b4499e01ebb8d727c4651856894e154f (diff)
Variadic drw.Blend
Diffstat (limited to 'status/00-status.go')
-rw-r--r--status/00-status.go4
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) {