disabled Background (had errors and no use)

This commit is contained in:
Hannes
2026-08-22 16:43:26 +02:00
parent c1e1540ab9
commit a046c5b3e0
3 changed files with 12 additions and 9 deletions
+6 -6
View File
@@ -75,12 +75,12 @@ Row { // Workspace Row
edges: Edges.Top | Edges.Left
gravity: Edges.Bottom | Edges.Right
adjustment: PopupAdjustment.FlipX | PopupAdjustment.SlideY
onAnchoring: {
rect.x = trayArea.clickX
rect.y = trayArea.clickY
rect.w = 1
rect.h = 1
}
// onAnchoring: {
// rect.x = trayArea.clickX
// rect.y = trayArea.clickY
// rect.w = 1
// rect.h = 1
// }
}
}
+4 -1
View File
@@ -69,8 +69,11 @@ Rectangle {
anchors.fill: parent
onClicked: {
console.log("[Workspaces] Switch to workspace: " + workspaceData.id)
Hyprland.dispatch("workspace " + workspaceData.id)
if (Hyprland.usingLua) {
Hyprland.dispatch("hl.dsp.focus({ workspace = "+workspaceData.id+" })")
} else {
Hyprland.dispatch("workspace " + workspaceData.id)
}
}
Row {
+1 -1
View File
@@ -26,7 +26,7 @@ ShellRoot {
id : wlLoader
}
Background {}
// Background {}
function openWlogout() {
wlLoader.openWlogout()