Trim doc and comment drift in qs.Ui kit
This commit is contained in:
@@ -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"
|
||||
|
||||
@@ -80,7 +80,7 @@ individual plugins (`bar`, `image-selector`, …).
|
||||
}
|
||||
},
|
||||
"plugins": [
|
||||
{ "id": "omarchy.settings" }
|
||||
{ "id": "community.weather-extra" }
|
||||
]
|
||||
}
|
||||
```
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user