wallpaper selector: unfuck grid placement

This commit is contained in:
end-4
2025-08-23 10:13:52 +07:00
parent 767e35851b
commit 0e2eea7555
3 changed files with 81 additions and 132 deletions
@@ -28,12 +28,7 @@ Scope {
WlrLayershell.keyboardFocus: WlrKeyboardFocus.OnDemand
color: "transparent"
anchors {
top: true
bottom: true
left: true
right: true
}
anchors.top: true
margins {
top: Appearance.sizes.barHeight + Appearance.sizes.hyprlandGapsOut
}
@@ -42,6 +37,9 @@ Scope {
item: content
}
implicitHeight: Appearance.sizes.wallpaperSelectorHeight
implicitWidth: Appearance.sizes.wallpaperSelectorWidth
HyprlandFocusGrab { // Click outside to close
id: grab
windows: [ panelWindow ]
@@ -54,8 +52,7 @@ Scope {
WallpaperSelectorContent {
id: content
anchors {
top: parent.top
horizontalCenter: parent.horizontalCenter
fill: parent
}
}
}