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