Commit Graph
28 Commits
Author SHA1 Message Date
Ryan Hughes 98ba4a9697 Bring on gradient borders 2026-06-02 11:17:13 -04:00
David Heinemeier Hansson bc32980cca Replace bar settings with inline config panel 2026-05-27 15:11:36 +02:00
David Heinemeier Hansson e490f743db Keep glyph notification hints compact 2026-05-27 14:09:26 +02:00
David Heinemeier Hansson 88816ab9be Extend notification popup lifetime 2026-05-27 10:50:31 +02:00
David Heinemeier Hansson af5e918dd5 Improve actionable notification wrapper 2026-05-25 23:51:48 +02:00
David Heinemeier Hansson e1075e3cd7 No need to scream about important notifications
They're already there until you dismiss them
2026-05-25 22:42:53 +02:00
David Heinemeier Hansson 829c1fa4f7 Add shell plugin model tests 2026-05-25 14:18:39 +02:00
David Heinemeier Hansson 60fbb2a9e4 Ensure linebreaks are respected 2026-05-23 16:49:30 +02:00
Ryan Hughes 4cd6593ba3 Use plugin IPC routes 2026-05-23 04:32:20 -04:00
Ryan Hughes 4f0bdb790b Make built-in widgets plugins 2026-05-23 04:32:20 -04:00
David Heinemeier Hansson d2e2544529 Fallback to app icon if there's nothing else 2026-05-23 10:25:33 +02:00
David Heinemeier Hansson a12fdf96c4 Keep glyph-only notifications compact 2026-05-22 10:16:29 +02:00
David Heinemeier Hansson e5b585d6b3 Extract notification window focus helper 2026-05-21 11:44:11 +02:00
David Heinemeier Hansson ac859b5157 Halve Style.gapsOut relative to Hyprland's general:gaps_out
The Hyprland gaps_out value (10px out of the box) reads well as a
window-to-window gap but felt cavernous when used as the screen-edge
margin for panels and notifications. Halve it at the source — panels
that anchor via PopupCard.margin, the launcher / clipboard / emojis /
polkit / menu / settings card-width clamps, and the notification popup
margins all read Style.gapsOut, so one tweak moves them in lockstep.

Revert the per-call /2 in the notifications service, since
Style.gapsOut now already encodes the smaller value.
2026-05-20 21:44:36 +02:00
David Heinemeier Hansson 9211b4b9c3 Halve the gap around notification popups on the top + right edges
Sit notifications closer to the top and right edges than the default
gapsOut. The bar-height clearance still applies to the top — only the
free gap portion is halved.
2026-05-20 21:40:37 +02:00
David Heinemeier Hansson 296ee20e98 Rename notification timer state 2026-05-20 15:23:29 +02:00
David Heinemeier Hansson 32a5938819 Remove notification progress indicator 2026-05-20 15:22:18 +02:00
David Heinemeier Hansson c1b8b18b8f Remove stale bar font config 2026-05-20 15:16:22 +02:00
David Heinemeier Hansson ac925e8f3e Show notification countdown progress 2026-05-20 15:15:25 +02:00
David Heinemeier Hansson 93db08b217 Fix notification focus and image cache races 2026-05-20 15:13:57 +02:00
Ryan Hughes 0422716374 More cleanup 2026-05-19 18:06:08 -04:00
David Heinemeier Hansson 1a630b1239 Pull low battery warning into shell 2026-05-19 21:28:32 +02:00
David Heinemeier Hansson 0f4490c9fc Leave this to the themes 2026-05-19 21:01:51 +02:00
David Heinemeier Hansson 48dacca6ea Not needed 2026-05-19 12:00:15 +02:00
David Heinemeier Hansson 8fa463975a Remove dead code 2026-05-19 10:50:36 +02:00
Ryan Hughes 8b2bb217d6 Standardize shell UI theme tokens 2026-05-18 20:13:12 -04:00
Ryan Hughes 648bc54db1 Unify font sizes through qs.Commons.Style
Themes now drive typography the same way they drive colors: one [font]
base-size in shell.toml is the rem root, and every Style.font.<token>
(caption, bodySmall, body, subtitle, title, heading, display,
displayLarge, iconSmall, icon, iconLarge) derives from it via a fixed
multiplier. Themes can also pin individual tokens for stylistic
emphasis. base-size is clamped 11..13 until row-height tokens exist.

Bar dimensions move to the same singleton: [bar] size-horizontal /
size-vertical replace the hardcoded 26/28 in Bar.qml, exposed as
Style.bar.sizeHorizontal / sizeVertical.

Style.qml also resolves the fontconfig 'monospace' alias via fc-match
and exposes Style.font.resolvedFamily so panels can display the
concrete family. Watches ~/.config/fontconfig/fonts.conf so it tracks
'omarchy font set <name>'.

The qs.Ui kit (PillButton, Dropdown, Toggle, TextField, etc.) and
every first-party plugin (bar widgets, settings, menu, clipboard,
emoji, polkit, notifications, osd, image-picker, dev-gallery) now
bind to Style.font.* instead of pixel literals. Only three deliberate
display-scale outliers remain: the notification empty-state glyph and
the weather flyout's hero temperature pair, all commented.

Background plugin's applyTheme IPC fast-path also pushes shell.toml to
Style so theme swaps update typography and bar size without waiting
for inotify debounce.

Dev gallery (omarchy dev ui-preview) now ships a Typography section
that renders the full scale and theme tokens live, and its summon
command is fixed (omarchy-shell-ipc -> omarchy-shell).
2026-05-18 11:33:19 -04:00
David Heinemeier Hansson 0fe985b45d Promote shell to its own top-level directory 2026-05-18 14:56:59 +02:00