summaryrefslogtreecommitdiff
path: root/internal/constants/constants.go
diff options
context:
space:
mode:
authorPaul Buetow <paul@buetow.org>2026-02-16 22:53:17 +0200
committerPaul Buetow <paul@buetow.org>2026-02-16 22:53:17 +0200
commit6798b669464d828c241554647b4fff68a62ca91d (patch)
tree706fc2da37b27b89649afe650ec699170191ecb1 /internal/constants/constants.go
parent971928faff0c100ef591c2d0e92e94b9f46ae71a (diff)
Add global I/O avg line (hotkey i) and m/n hotkey aliases
Add a pink 1px line drawn from the top showing mean iowait+IRQ+softIRQ across all hosts, toggled with hotkey i and persistable to ~/.loadbarsrc. Also add m as alias for 2 (memory toggle) and n as alias for 3 (network toggle) for easier single-hand operation. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Diffstat (limited to 'internal/constants/constants.go')
-rw-r--r--internal/constants/constants.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/internal/constants/constants.go b/internal/constants/constants.go
index 6787045..82600d2 100644
--- a/internal/constants/constants.go
+++ b/internal/constants/constants.go
@@ -40,6 +40,7 @@ var (
LightGreen = RGB{0x00, 0xf0, 0x00}
Orange = RGB{0xff, 0x70, 0x00}
Purple = RGB{0xa0, 0x20, 0xf0}
+ Pink = RGB{0xff, 0x40, 0xff}
Red = RGB{0xff, 0x00, 0x00}
White = RGB{0xff, 0xff, 0xff}
Grey0 = RGB{0x11, 0x11, 0x11}