Commit Graph
92 Commits
Author SHA1 Message Date
David Heinemeier Hansson a910b5dcb4 Give reminders an indicator and a full QS flow 2026-05-23 18:04:21 +02:00
David Heinemeier Hansson b92a44d572 Persist StayAwake indicator state 2026-05-23 15:15:55 +02:00
David Heinemeier Hansson 5fc4921cfc Make defaults live where defaults always live 2026-05-23 11:28:36 +02: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
Ryan Hughes d23d46915f Namespace omarchy plugins 2026-05-22 23:35:27 -04:00
Ryan Hughes 877bef80d0 Add always show option 2026-05-22 16:16:48 -04:00
Ryan Hughes 952b33b981 Make indicators customizable 2026-05-22 15:05:55 -04:00
Ryan Hughes e8fc2ef08f Re-implement better scaling with new icon spacing 2026-05-22 13:30:53 -04:00
David Heinemeier Hansson b5079bdbad Revert "Provide better scaling"
This reverts commit 3ea8d9ffb7.
2026-05-22 17:41:30 +02:00
Ryan Hughes 3ea8d9ffb7 Provide better scaling 2026-05-22 11:30:43 -04:00
David Heinemeier Hansson 7b6a03fa08 Refine shell panel transitions and layout 2026-05-22 11:22:42 +02:00
David Heinemeier Hansson d0795793a3 Add media source switcher 2026-05-22 09:46:17 +02:00
David Heinemeier Hansson 4cd23d9584 Extract stats and clipboard helpers 2026-05-21 11:58:43 +02:00
David Heinemeier Hansson e1066e67d5 Switch media controls to QS MPRIS 2026-05-20 22:53:50 +02:00
David Heinemeier Hansson 16193e7c93 Convert tz setting to a QS menu 2026-05-20 22:10:46 +02:00
David Heinemeier Hansson f9a2685aab Use capitalized camel for all classes 2026-05-20 22:00:10 +02:00
David Heinemeier Hansson 06a312240e Simplify 2026-05-20 21:44:08 +02:00
David Heinemeier Hansson 3878ad3a57 Make clock's alt format include the ISO week number
Set the default formatAlt to "dd MMMM 'W'ww yyyy" (was "dd MMMM yyyy")
in shell-defaults.json, the bundled settings-panel defaults, and the
form placeholder text — clock's own widget fallback already used this
spec but the shipped config overrode it.

Qt.formatDateTime doesn't recognize `ww` and renders it literally
(`20 May Www 2026`), so add an `isoWeek` helper to clock.qml that
pre-substitutes `ww` with a Qt-quoted literal of the ISO 8601 week
number before handing the format off to Qt. Users get `20 May W21 2026`
without anyone needing to know about the substitution.
2026-05-20 21:37:48 +02:00
David Heinemeier Hansson 2b03aec510 Capitalize 2026-05-20 21:34:19 +02:00
David Heinemeier Hansson 6090d46dfd Drop the daytime widget, use clock everywhere
Clock and daytime were near-duplicates with different click semantics
(clock toggles between formats on left-click and opens the timezone
selector on right-click; daytime was non-pressable with a hover tooltip).
Standardize on clock, since it's the more capable of the two.

- Delete widgets/daytime.qml and its FirstPartyWidgets entry.
- Migrate shell-defaults.json, shell.qml's builtin fallback, Bar.qml's
  fallback bar config, and the settings panel's builtin defaults so the
  center anchor and center-section entry both reference "clock".
- Rename the daytimeSettings form to clockSettings and rephrase
  "Tooltip format" → "Alternate format (click to toggle)" so the field
  label matches clock's actual behavior.
- Update the gallery dropdown options and bar/README docs.
2026-05-20 21:23:30 +02:00
David Heinemeier Hansson 04e7820ebe Drop Bar.qml's private ModuleButton, reuse WidgetButton
ModuleButton was a near-duplicate of WidgetButton with the same text /
active / keepSpace / tooltip / fontSize / fixedWidth / fixedHeight /
pressed signal surface, only differing in that it closed over the
enclosing root via QML's scoping rules instead of taking `bar` as a
property. Switch CustomCommandModule onto WidgetButton with
`bar: root` so we have one bar button component to maintain.
2026-05-20 20:32:31 +02:00
David Heinemeier Hansson c1fca7cbe4 Use Color.foreground / Style.font.family for fallbacks
Five sites hardcoded "#cacccc" or "JetBrainsMono Nerd Font" as the
fallback when no bar context was available. Those magic strings are
the *current* palette defaults — they diverge silently when the theme
changes. Bind to the Color / Style singletons so the fallback tracks
whatever the theme says the foreground / monospace family should be.

Color.qml itself keeps the literal "#cacccc" — that's the seed value
the singleton is bootstrapped with before the theme loads.
2026-05-20 20:29:23 +02:00
David Heinemeier Hansson 16604c67b3 Lift setting / vertical / barSize onto BarWidget
Six widgets (clock, daytime, keyboardLayout, lockKeys, activeWindow,
media) shipped identical copies of `function setting(name, fallback)`.
Eight widgets reimplemented `readonly property bool vertical`, and
three reimplemented `readonly property int barSize`. Move all three
onto the BarWidget base so widgets read the same wiring everyone else
gets for free.

While in here, drop the dead `setting()` declaration on media.qml — it
was defined but never called.
2026-05-20 19:50:10 +02:00
David Heinemeier Hansson 9baf3f7f79 Fix parseModuleJson undefined call in custom command modules
CustomCommandModule.update() in Bar.qml called root.parseModuleJson(raw)
but the function was removed in 3b970068 (the indicator split). Any
custom command module emitting waybar-style JSON would have crashed on
first poll.

Hoist the helper into Util so both call sites — the bar's custom command
module and BarIndicator.extractData — share one definition.
2026-05-20 19:46:47 +02:00
David Heinemeier Hansson 2a61df0254 Fix vertical bar indicator alignment 2026-05-20 19:11:15 +02:00
David Heinemeier Hansson bdf7bf76cb Extract clock and tray bar widgets 2026-05-20 19:11:00 +02:00
David Heinemeier Hansson d9ec5b82f2 Move weather popup into panel 2026-05-20 18:43:15 +02:00
David Heinemeier Hansson e0b62f7535 Fix indicator hover reveal target 2026-05-20 18:38:21 +02:00
David Heinemeier Hansson cf4729ca2b Extract indicators bar widget 2026-05-20 18:32:00 +02:00
David Heinemeier Hansson 1e63e86133 Extract system update bar widget 2026-05-20 18:28:13 +02:00
David Heinemeier Hansson 4835119e48 Move first-party bar widget catalog out of Bar 2026-05-20 18:27:10 +02:00
David Heinemeier Hansson 647bb88ab2 Extract menu opener widget 2026-05-20 17:53:05 +02:00
David Heinemeier Hansson 1ff343428c Extract workspace switcher widget 2026-05-20 17:53:05 +02:00
David Heinemeier Hansson 4941fe4bf9 Replace calendar widget with daytime label 2026-05-20 16:59:38 +02:00
David Heinemeier Hansson 532db800d7 Remove legacy idle inhibitor widget 2026-05-20 16:33:48 +02:00
David Heinemeier Hansson 234cc5354d Keep active indicator delegates stable 2026-05-20 16:08:56 +02:00
David Heinemeier Hansson dc6468cdfa Stabilize indicator activation rendering 2026-05-20 16:03:51 +02:00
David Heinemeier Hansson fca1393c8c Append newly active bar indicators 2026-05-20 15:58:38 +02:00
David Heinemeier Hansson 5110b0d753 Guard bar tooltips with live hover state 2026-05-20 15:52:43 +02:00
David Heinemeier Hansson 9e77ea3aca Better tooltips 2026-05-20 15:49:24 +02:00
David Heinemeier Hansson b22b0f8640 Prevent stacked bar tooltips 2026-05-20 15:43:21 +02:00
David Heinemeier Hansson 9e48d9658b Add Night Light bar indicator 2026-05-20 15:31:28 +02:00
David Heinemeier Hansson 8703a46a70 Scope bar interactions to their screen 2026-05-20 15:15:16 +02:00
David Heinemeier Hansson 20ff942481 Fix bar icon positioning in horizontal mode 2026-05-20 14:56:42 +02:00
David Heinemeier Hansson fab0d69e87 Make settings and transparency controllable on vertical bars 2026-05-20 14:51:19 +02:00
David Heinemeier Hansson dbdcd862e7 Simplify 2026-05-20 14:35:47 +02:00
David Heinemeier Hansson f6c6a6d323 Simplify 2026-05-20 14:34:15 +02:00
David Heinemeier Hansson ea1b0e7ced Extract panels out into their own top-level concern 2026-05-20 13:51:39 +02:00
David Heinemeier Hansson 3b9700682c Split out indicators 2026-05-20 13:05:56 +02:00