dock: previews

This commit is contained in:
end-4
2025-05-30 11:27:57 +02:00
parent 198bcc6a3a
commit 3cd8865a50
6 changed files with 267 additions and 42 deletions
+2 -5
View File
@@ -23,7 +23,7 @@ Scope { // Scope
id: dockRoot
screen: modelData
property bool reveal: root.pinned || dockMouseArea.containsMouse
property bool reveal: root.pinned || dockMouseArea.containsMouse || dockApps.requestDockShow
anchors {
bottom: true
@@ -35,9 +35,6 @@ Scope { // Scope
cheatsheetLoader.active = false
}
exclusiveZone: root.pinned ? implicitHeight - Appearance.sizes.hyprlandGapsOut : 0
Component.onCompleted: {
console.log(ConfigOptions.dock.hoverRegionHeight)
}
implicitWidth: dockBackground.implicitWidth
WlrLayershell.namespace: "quickshell:dock"
@@ -114,7 +111,7 @@ Scope { // Scope
}
}
DockSeparator {}
DockApps {}
DockApps { id: dockApps }
DockSeparator {}
DockButton {
onClicked: Hyprland.dispatch("global quickshell:overviewToggle")