Trim doc and comment drift in qs.Ui kit

This commit is contained in:
Ryan Hughes
2026-05-18 10:17:01 -04:00
parent e9e5040bf3
commit f48eef58e0
4 changed files with 6 additions and 7 deletions
+3 -4
View File
@@ -10,10 +10,9 @@ if [[ $1 != "sharp" && $1 != "round" ]]; then
fi fi
# The shell tracks Hyprland's `decoration:rounding` directly via # The shell tracks Hyprland's `decoration:rounding` directly via
# Quickshell's qs.Commons.Style singleton, so we no longer write a # Quickshell's qs.Commons.Style singleton; no separate quickshell-corners
# parallel quickshell-menu.json. omarchy-style-corners-quickshell is # state file is written. The old omarchy-style-corners-quickshell shim is
# retained for back-compat but is now a no-op trigger that nudges the # kept as a no-op so external callers don't error.
# shell to re-poll, so old callers stay quiet.
omarchy-style-corners-hyprland "$1" omarchy-style-corners-hyprland "$1"
omarchy-style-corners-hyprlock "$1" omarchy-style-corners-hyprlock "$1"
omarchy-style-corners-walker "$1" omarchy-style-corners-walker "$1"
+1 -1
View File
@@ -80,7 +80,7 @@ individual plugins (`bar`, `image-selector`, …).
} }
}, },
"plugins": [ "plugins": [
{ "id": "omarchy.settings" } { "id": "community.weather-extra" }
] ]
} }
``` ```
+1 -1
View File
@@ -3,7 +3,7 @@ import QtQuick.Controls
// Styled wrapper around Qt Quick Controls ToolTip. Drop-in: declare inside // Styled wrapper around Qt Quick Controls ToolTip. Drop-in: declare inside
// the hovered item and bind `visible` to the hover state, e.g. // the hovered item and bind `visible` to the hover state, e.g.
// Common.PanelToolTip { // PanelToolTip {
// visible: mouse.containsMouse // visible: mouse.containsMouse
// text: "Forget network" // text: "Forget network"
// panelForeground: bar.foreground // panelForeground: bar.foreground
+1 -1
View File
@@ -393,7 +393,7 @@ Item {
color: Qt.darker(root.foreground, 1.4) color: Qt.darker(root.foreground, 1.4)
font.family: root.fontFamily font.family: root.fontFamily
font.pixelSize: 11 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 { Text {
width: parent.width width: parent.width