Skip to content

feat(eww): threshold colors for CPU/RAM/BAT + left-align OS title#12

Merged
UnbreakableMJ merged 2 commits into
mainfrom
feat/eww-bar-polish
Jun 25, 2026
Merged

feat(eww): threshold colors for CPU/RAM/BAT + left-align OS title#12
UnbreakableMJ merged 2 commits into
mainfrom
feat/eww-bar-polish

Conversation

@UnbreakableMJ

@UnbreakableMJ UnbreakableMJ commented Jun 25, 2026

Copy link
Copy Markdown
Contributor

What

Polish for the shared eww status bar (users/mj/home.nix), plus a routine lock bump.

  1. Threshold colors on the metrics. CPU / RAM / BAT now signal danger instead of always showing green:

    • CPU / RAM (high is bad): amber at ≥75%, red at ≥90%.
    • Battery (low is bad): amber at ≤30%, red at ≤15%. -- (no battery present) stays neutral green.
    • Driven by new .metric-warn (Molten Amber) / .metric-crit (Red Oxide) SCSS classes selected via dynamic eww :class expressions.
  2. Left-align the STEELBORE :: BRAVAIS title with :halign "start". It was being centered within its centerbox third; the metrics already used :halign "end", so this makes the left/right edges symmetric.

  3. chore(deps): routine construct (skills) flake.lock bump from the rebuild flow.

Notes

  • Applies on next rebuild; eww picks it up after eww reload (or a fresh session).

🤖 Generated with Claude Code

UnbreakableMJ and others added 2 commits June 25, 2026 17:18
Metrics now signal danger: amber (warn) then red (crit). CPU/RAM climb so
high is bad (>=75% amber, >=90% red); battery drains so low is bad (<=30% amber,
<=15% red). '--' (no battery present) stays neutral green. Colors are driven by
new .metric-warn/.metric-crit classes selected via dynamic eww :class exprs.

Also left-align the 'STEELBORE :: BRAVAIS' title with :halign "start"; it was
being centered within its centerbox third (the metrics already use :halign
"end" to hug the right edge).

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Routine construct (skills) input bump from the rebuild flow's nix flake update.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@UnbreakableMJ UnbreakableMJ merged commit 7f0062e into main Jun 25, 2026
1 check passed
@UnbreakableMJ UnbreakableMJ deleted the feat/eww-bar-polish branch June 25, 2026 14:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant