Commit Graph
1646 Commits
Author SHA1 Message Date
Ryan Hughes d4bf8d0eea omarchy dev ui-preview: jump to a specific section via argument
Pass a section name to open the gallery with the cursor already on
that component instead of scrolling from the top. Useful when
iterating on a single widget.

  omarchy dev ui-preview              # default position
  omarchy dev ui-preview button       # land on the Button section
  omarchy dev ui-preview button-group # land on ButtonGroup
  omarchy dev ui-preview slider       # land on Slider, etc.

The bin script forwards the argument as {"section": "..."} in the
shell summon payload. The gallery's open(payloadJson) parses it,
clamps against visibleSections (unknown names fall back to default),
and sets focusSection + selectedIndex inside the existing Qt.callLater
so the cursor's hasCursor bindings fire ensureCursorVisible
automatically.
2026-05-18 12:36:46 -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
Ryan Hughes f48eef58e0 Trim doc and comment drift in qs.Ui kit 2026-05-18 10:17:01 -04:00
David Heinemeier Hansson 0fe985b45d Promote shell to its own top-level directory 2026-05-18 14:56:59 +02:00
David Heinemeier Hansson 4551b8920a Fix glyph notifications to be slim 2026-05-18 14:29:43 +02:00
David Heinemeier Hansson b0f5d941ba Switch to running quickshell as a systemd service that is auto-restarted if it crashes 2026-05-18 13:58:07 +02:00
Ryan Hughes a1e11f68b8 Add omarchy dev ui-preview to open the qs.Ui dev gallery 2026-05-18 02:49:04 -04:00
Ryan Hughes c17ab99fa4 Stay Awake: filled red coffee cup when active, empty cup at rest 2026-05-18 02:45:19 -04:00
Ryan Hughes 2a6749dc6c Stay Awake: fix state detection, rename, notify on toggle 2026-05-18 02:40:19 -04:00
Ryan Hughes 64115a9cb4 Read cornerRadius from Hyprland instead of the quickshell-menu.json toggle 2026-05-17 23:31:47 -04:00
Ryan Hughes fa4d2bc566 Faster restart-shell, sidestep upstream IPC kill crash
quickshell kill currently trips Quickshell #539 (notifyInternal2 event
loop crash via IpcKillCommand::exec), which leaves the Wayland surface
lingering long enough that the new instance starts on top of the dying
one — a duplicate bar. SIGKILL drops the client connection and the
compositor cleans up surfaces immediately; the shell has no persistent
state to flush. Sub-20ms restart, no duplicates.
2026-05-17 18:16:03 -04:00
David Heinemeier Hansson 75f04857f5 No longer used 2026-05-17 22:11:10 +02:00
David Heinemeier Hansson 0d98d7e2af Don't show notifications for things that have other visual indicators
Like the bar indicators
2026-05-17 22:09:31 +02:00
David Heinemeier Hansson 671dd4698c Kill this weird pattern 2026-05-17 21:55:53 +02:00
David Heinemeier Hansson a41b094baf Always set 2026-05-17 21:51:09 +02:00
David Heinemeier Hansson 9426196a47 Always set 2026-05-17 21:50:35 +02:00
David Heinemeier Hansson 89a6517018 Simplify scaling 2026-05-17 21:44:08 +02:00
David Heinemeier Hansson ac3dd76e83 Errant - 2026-05-17 21:30:58 +02:00
David Heinemeier Hansson a60c2a4367 Combine here too 2026-05-17 21:09:24 +02:00
David Heinemeier Hansson 2df003ccc5 Slim 2026-05-17 21:02:18 +02:00
David Heinemeier Hansson 50ed525c69 Combine and cache for faster reactions 2026-05-17 21:00:39 +02:00
David Heinemeier Hansson 01df3669b8 Unused 2026-05-17 20:47:48 +02:00
David Heinemeier Hansson c6917585cd Simpler 2026-05-17 20:47:23 +02:00
David Heinemeier Hansson 04d3170e07 Simpler 2026-05-17 20:47:21 +02:00
David Heinemeier Hansson 20aa4bf205 Don't need fallback for earlier versions 2026-05-17 20:05:58 +02:00
David Heinemeier Hansson d6e43ee6ff Simplify control logic 2026-05-17 20:05:49 +02:00
David Heinemeier Hansson b719de7774 We should do all or not 2026-05-17 20:02:01 +02:00
David Heinemeier Hansson 8718962d13 Not needed 2026-05-17 19:59:49 +02:00
David Heinemeier Hansson 9878b5b791 Don't use notifications for toggles that have clear visual feedback already 2026-05-17 19:52:11 +02:00
David Heinemeier Hansson 4e2da8480a Standardize all notification sending 2026-05-17 19:51:29 +02:00
David Heinemeier Hansson 682c6406bd No need to quote glyphs 2026-05-17 19:51:29 +02:00
David Heinemeier Hansson 27497b19bf Expose DNS setting in the network widget 2026-05-17 19:51:29 +02:00
David Heinemeier Hansson 8c01563c46 Don't need notifications for changes that are obvious 2026-05-17 19:51:29 +02:00
David Heinemeier Hansson 2c265f361c Even smoother 2026-05-17 17:52:00 +02:00
David Heinemeier Hansson c24b9b0e31 Speed up changes 2026-05-17 17:46:42 +02:00
David Heinemeier Hansson 540aaf956d Add new display widget for the bar 2026-05-17 17:29:52 +02:00
David Heinemeier Hansson cf4935f964 Use existing mechanism 2026-05-17 17:29:52 +02:00
David Heinemeier Hansson 8ad2f75758 Faster and smoother theme changes 2026-05-17 17:03:28 +02:00
David Heinemeier Hansson 4e50960c54 Faster theme and bg changes 2026-05-17 16:41:44 +02:00
David Heinemeier Hansson 523803e99e Performance improve pickers 2026-05-17 11:40:05 +02:00
David Heinemeier Hansson 2713d43f35 Replace Walker clipboard with native Quickshell clipboard picker 2026-05-17 10:49:53 +02:00
David Heinemeier Hansson 25c718e3df Add QS emoji picker 2026-05-17 09:47:45 +02:00
David Heinemeier Hansson d92c277e87 It's npm, not npx 2026-05-17 09:41:04 +02:00
David Heinemeier Hansson 52ce411c2b Use our built-in notifications 2026-05-17 09:36:13 +02:00
David Heinemeier Hansson 80da45dd1c Use the new weather overlay instead 2026-05-17 08:49:35 +02:00
David Heinemeier Hansson ad20041c22 Just go straight to the bar settings 2026-05-16 22:06:02 +02:00
David Heinemeier Hansson eaea4cd577 Reduce Settings to just Bar Settings
The other don't add enough over the Omarchy Menu
2026-05-16 21:47:54 +02:00
David Heinemeier Hansson 63abbf0be1 Prevent voxtype process zombies 2026-05-16 21:01:09 +02:00
David Heinemeier Hansson 1eab0cffc9 Integrate swaybg and swayosd into the new shell 2026-05-16 20:34:09 +02:00
David Heinemeier Hansson 83e7f41308 Add --fullscreen to make it easier for agents to record 2026-05-16 16:47:22 +02:00