From f48eef58e0008d73e56b7f45862e8b26ee65acf4 Mon Sep 17 00:00:00 2001 From: Ryan Hughes Date: Mon, 18 May 2026 04:05:20 -0400 Subject: [PATCH] Trim doc and comment drift in qs.Ui kit --- bin/omarchy-style-corners | 7 +++---- docs/omarchy-shell.md | 2 +- shell/Ui/PanelToolTip.qml | 2 +- shell/plugins/dev-gallery/GalleryPanel.qml | 2 +- 4 files changed, 6 insertions(+), 7 deletions(-) diff --git a/bin/omarchy-style-corners b/bin/omarchy-style-corners index fdf8abe5..76b6e7bd 100755 --- a/bin/omarchy-style-corners +++ b/bin/omarchy-style-corners @@ -10,10 +10,9 @@ if [[ $1 != "sharp" && $1 != "round" ]]; then fi # The shell tracks Hyprland's `decoration:rounding` directly via -# Quickshell's qs.Commons.Style singleton, so we no longer write a -# parallel quickshell-menu.json. omarchy-style-corners-quickshell is -# retained for back-compat but is now a no-op trigger that nudges the -# shell to re-poll, so old callers stay quiet. +# Quickshell's qs.Commons.Style singleton; no separate quickshell-corners +# state file is written. The old omarchy-style-corners-quickshell shim is +# kept as a no-op so external callers don't error. omarchy-style-corners-hyprland "$1" omarchy-style-corners-hyprlock "$1" omarchy-style-corners-walker "$1" diff --git a/docs/omarchy-shell.md b/docs/omarchy-shell.md index 338e55f5..957e0f95 100644 --- a/docs/omarchy-shell.md +++ b/docs/omarchy-shell.md @@ -80,7 +80,7 @@ individual plugins (`bar`, `image-selector`, …). } }, "plugins": [ - { "id": "omarchy.settings" } + { "id": "community.weather-extra" } ] } ``` diff --git a/shell/Ui/PanelToolTip.qml b/shell/Ui/PanelToolTip.qml index 5d04aac9..318af851 100644 --- a/shell/Ui/PanelToolTip.qml +++ b/shell/Ui/PanelToolTip.qml @@ -3,7 +3,7 @@ import QtQuick.Controls // Styled wrapper around Qt Quick Controls ToolTip. Drop-in: declare inside // the hovered item and bind `visible` to the hover state, e.g. -// Common.PanelToolTip { +// PanelToolTip { // visible: mouse.containsMouse // text: "Forget network" // panelForeground: bar.foreground diff --git a/shell/plugins/dev-gallery/GalleryPanel.qml b/shell/plugins/dev-gallery/GalleryPanel.qml index 321e1a87..64fe53e5 100644 --- a/shell/plugins/dev-gallery/GalleryPanel.qml +++ b/shell/plugins/dev-gallery/GalleryPanel.qml @@ -393,7 +393,7 @@ Item { color: Qt.darker(root.foreground, 1.4) font.family: root.fontFamily font.pixelSize: 11 - text: "Single cursor. Every interactive primitive exposes hasCursor: bool and emits hovered(bool). The panel root owns focusSection + selectedIndex; each element binds hasCursor: root.focusSection === 'X' && root.selectedIndex === N, and onHovered updates the same state. One highlight on screen, keyboard and mouse always agree. See plugins/bar/widgets/audioPanel.qml for the canonical recipe." + text: "Single cursor. Most reusable panel primitives expose hasCursor: bool and emit hovered(bool); a few (like PanelSlider) defer to their own focus handling. The panel root owns focusSection + selectedIndex; each element binds hasCursor: root.focusSection === 'X' && root.selectedIndex === N, and onHovered updates the same state. One highlight on screen, keyboard and mouse always agree. See plugins/bar/widgets/audioPanel.qml for the canonical recipe." } Text { width: parent.width