Skip to content

Show Stay Awake as an outline mug, as light as the icons beside it - #19374

Open
crmne wants to merge 1 commit into
omacom:quattrofrom
crmne:stay-awake-outline-mug
Open

crmne wants to merge 1 commit into
omacom:quattrofrom
crmne:stay-awake-outline-mug

Conversation

@crmne

@crmne crmne commented Nov 18, 2026 •

Copy link
Copy Markdown
Contributor

What changes

The Stay Awake indicator reads heavier than the icons beside it. Its glyph, U+EF59 (fa-mug_hot, a solid mug), fills the same box as the weather sun next to it (19x20 px at 1.6x, both centred) but carries about three times the ink (220 vs 75 px²). So it looks bigger, and its visual weight sits 2.6 px lower than the sun's. OpticalGlyph only normalises the longest side, so the glyph is what has to change.

This uses U+EC15 (cod-coffee), an outline mug with steam and no saucer, at 88 px². The menu's Stay Awake and Allow Sleep entries used the same glyph and change with it, as they did in #15269. Nothing else uses U+EF59.

No new test: it's a glyph swap, and menu-test.sh already checks that every menu glyph drawn in the Omarchy font is one the font carries.

Verification

  • U+EC15 is in JetBrainsMonoNerdFont-Regular.ttf and -Bold.ttf from ttf-jetbrains-mono-nerd-basic 3.5.1, as cod-coffee.
  • menu-test.sh and indicator-contract-test.sh pass, rebased on current quattro, and CI is green.
  • Rendered the indicator group offscreen at 1.6x and measured each icon's ink area and ink-weighted centre with PIL. The mug goes from 220 to 88 px², and its weight from 2.6 px below the sun's to 0.4 px.

Screenshots

Night light, do not disturb and stay awake, all on, with omarchy agent look plugin in a headless nested Hyprland (test/headless), shown at 2x.

Before:

stay-awake-before

After:

stay-awake-after

Ink and weight beside the weather sun, offscreen at 1.6x, scaled up 4x:

stay-awake-mug-before-after

@greptile-apps

greptile-apps Bot commented Nov 18, 2026 •

Copy link
Copy Markdown
Contributor

Confidence Score: 5/5 · This PR appears safe to merge.RetriggerView in GreptileConfidence Score: 5/5

[Low impact] This PR appears safe to merge.

Summary

Replaces the solid Stay Awake mug with an outline mug in the bar and both menu entries.

  • Stay Awake uses an outline mug in the bar and menu.

Reviews (3) · Last reviewed commit: "Show Stay Awake as an outline mug, as li..." · Reviewed by Greptile

@omarchybot omarchybot added the enhancement New feature or request label Nov 22, 2026
The solid fa-mug_hot fills the same box as the weather sun next to it but
carries about three times the ink, so it read bigger and its weight sat
lower. cod-coffee is an outline mug with steam and no saucer, close to the
sun's ink. The menu's Stay Awake and Allow Sleep entries use it too.
@crmne
crmne force-pushed the stay-awake-outline-mug branch from a744384 to 976614c Compare November 29, 2026 20:30
Comment thread test/shell.d/stay-awake-glyph-test.sh Resolved
@crmne
crmne force-pushed the stay-awake-outline-mug branch from 976614c to 85351f8 Compare November 29, 2026 20:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants