disabled Background (had errors and no use)
This commit is contained in:
@@ -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
|
||||
// }
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user