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 edges: Edges.Top | Edges.Left
gravity: Edges.Bottom | Edges.Right gravity: Edges.Bottom | Edges.Right
adjustment: PopupAdjustment.FlipX | PopupAdjustment.SlideY adjustment: PopupAdjustment.FlipX | PopupAdjustment.SlideY
onAnchoring: { // onAnchoring: {
rect.x = trayArea.clickX // rect.x = trayArea.clickX
rect.y = trayArea.clickY // rect.y = trayArea.clickY
rect.w = 1 // rect.w = 1
rect.h = 1 // rect.h = 1
} // }
} }
} }
+4 -1
View File
@@ -69,8 +69,11 @@ Rectangle {
anchors.fill: parent anchors.fill: parent
onClicked: { onClicked: {
console.log("[Workspaces] Switch to workspace: " + workspaceData.id) console.log("[Workspaces] Switch to workspace: " + workspaceData.id)
Hyprland.dispatch("workspace " + workspaceData.id) if (Hyprland.usingLua) {
Hyprland.dispatch("hl.dsp.focus({ workspace = "+workspaceData.id+" })") Hyprland.dispatch("hl.dsp.focus({ workspace = "+workspaceData.id+" })")
} else {
Hyprland.dispatch("workspace " + workspaceData.id)
}
} }
Row { Row {
+1 -1
View File
@@ -26,7 +26,7 @@ ShellRoot {
id : wlLoader id : wlLoader
} }
Background {} // Background {}
function openWlogout() { function openWlogout() {
wlLoader.openWlogout() wlLoader.openWlogout()