Commit Graph
158 Commits
Author SHA1 Message Date
David Heinemeier Hansson 4055fa7cae Use uppercase Bluetooth panel headers 2026-05-22 11:02:46 +02:00
David Heinemeier Hansson e9eeb0bdfc Refine network panel connection details 2026-05-22 10:55:42 +02:00
David Heinemeier Hansson a12fdf96c4 Keep glyph-only notifications compact 2026-05-22 10:16:29 +02:00
David Heinemeier Hansson 336e7a790f Track image clipboard history 2026-05-22 10:10:33 +02:00
David Heinemeier Hansson 23b6cc29c9 Improve network panel Wi-Fi grouping 2026-05-22 09:46:41 +02:00
David Heinemeier Hansson d0795793a3 Add media source switcher 2026-05-22 09:46:17 +02:00
David Heinemeier Hansson 72ee480599 Prioritize oldest playing media source 2026-05-22 09:46:11 +02:00
David Heinemeier Hansson bfbf8e689a Tweaks 2026-05-22 09:10:33 +02:00
David Heinemeier Hansson 8cc5dde373 Unified look 2026-05-22 08:59:00 +02:00
David Heinemeier Hansson 181ce06a5b Tab to move quicker between sections 2026-05-22 08:46:19 +02:00
David Heinemeier Hansson 127a43a700 Live up/down stats and unified look 2026-05-22 08:46:19 +02:00
Ryan Hughes d13854857e Add MultiSelect 2026-05-21 16:35:26 -04:00
David Heinemeier Hansson 640e8056a0 Tweaks 2026-05-21 21:14:19 +02:00
David Heinemeier Hansson b28aaf4edb Bring in network panel to the same aesthetic 2026-05-21 21:08:32 +02:00
David Heinemeier Hansson df48130677 Bring in line 2026-05-21 20:43:37 +02:00
David Heinemeier Hansson d52354406d Fun panels 2026-05-21 20:19:40 +02:00
David Heinemeier Hansson 486c73e6df Preserve Wi-Fi password input during scans 2026-05-21 19:03:42 +02:00
David Heinemeier Hansson c3cabffa44 Use launcher hides list 2026-05-21 12:43:03 +02:00
David Heinemeier Hansson 4cd23d9584 Extract stats and clipboard helpers 2026-05-21 11:58:43 +02:00
David Heinemeier Hansson 8734464439 Extract audio default device helpers 2026-05-21 11:53:48 +02:00
David Heinemeier Hansson e5b585d6b3 Extract notification window focus helper 2026-05-21 11:44:11 +02:00
David Heinemeier Hansson d132e0ec61 Use power profile helper in panel 2026-05-21 11:39:55 +02:00
David Heinemeier Hansson 25c3752051 Simplify Bluetooth device actions 2026-05-21 11:29:55 +02:00
David Heinemeier Hansson d9622d6b99 Extract shell panel status commands 2026-05-21 10:54:23 +02:00
David Heinemeier Hansson deae101d6a Extract network status shell logic 2026-05-21 10:44:05 +02:00
David Heinemeier Hansson b19dc7eae2 Switch Wi-Fi setup to NetworkManager 2026-05-21 10:19:36 +02:00
David Heinemeier Hansson 190c31503c Merge branch 'dev' into omarchy-shell 2026-05-21 09:56:50 +02:00
David Heinemeier Hansson aa5896766b Mirror lock input across screens 2026-05-21 08:08:59 +02:00
David Heinemeier Hansson d1b452cc5f Lock before suspend with sleep inhibitor service 2026-05-21 07:57:08 +02:00
Ryan Hughes 0762b20e3e Fix freezing before setting 2026-05-20 22:29:15 -04:00
David Heinemeier Hansson e1066e67d5 Switch media controls to QS MPRIS 2026-05-20 22:53:50 +02:00
David Heinemeier Hansson d4d0c6d7bb Try more detail 2026-05-20 22:41:40 +02:00
David Heinemeier Hansson e021863b67 Convert tui and web app remove to QS menus 2026-05-20 22:33:45 +02:00
David Heinemeier Hansson 733f1661be Adjust for when there are no icons 2026-05-20 22:20:58 +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 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 06a312240e Simplify 2026-05-20 21:44:08 +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 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 9732279832 Fix off-by-two indentation on ImagePicker card properties 2026-05-20 20:37:50 +02:00
David Heinemeier Hansson 8ed6e302b0 Small cleanups: reuse Util.clamp in OSD; PanelSlider hover via _hot
OSD reimplemented clamp() inline when Util already has one.

PanelSlider's knob-scale binding read `mouseArea.containsMouse` directly
instead of going through a `_hot` like the other interactive controls
(TextField, NumberField, Dropdown). Mirror them so future style work
has a single property to override.
2026-05-20 20:33:27 +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 783cccac3c Consolidate OMARCHY_MENU_FONT lookups onto Style.font.menuFamily
Five plugins (menu, launcher, clipboard, emojis, polkit) each looked up
OMARCHY_MENU_FONT with the same env-or-monospace fallback. Hoist the
resolution into Style so plugins read one source of truth, and so the
fallback follows the real fontconfig family Style already tracks instead
of the literal string "monospace".
2026-05-20 20:31:04 +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 73e6127d4e Lift setting() onto the Panel base too
Matches the BarWidget extraction in the previous commit. The weather
panel was the only panel reimplementing the helper inline; future
panels with inline settings get it for free.
2026-05-20 20:27:59 +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 4d58dfa27a Honor the user's font on the lock screen
LockView hardcoded font.family to "monospace" in two places, ignoring
the user's OMARCHY_MENU_FONT / fontconfig choice that every other
summoned surface (menu, launcher, polkit, emojis, clipboard) respects.

Bind to Style.font.family so a font change via omarchy-font-set or
fontconfig propagates to the lock screen too.
2026-05-20 19:47:16 +02:00