did some bullshit
This commit is contained in:
@@ -15,6 +15,10 @@ Grid {
|
||||
columns: 5
|
||||
horizontalItemAlignment: Grid.AlignHCenter
|
||||
verticalItemAlignment: Grid.AlignVCenter
|
||||
onVisibleChanged: {
|
||||
if (!visible) return
|
||||
Hyprland.refreshToplevels()
|
||||
}
|
||||
component WorkspaceView: ClippingRectangle {
|
||||
color: "#282828"
|
||||
width: 192
|
||||
@@ -53,11 +57,12 @@ Grid {
|
||||
ScreencopyView {
|
||||
anchors.fill: parent
|
||||
captureSource: modelData.wayland
|
||||
live: background.index == 7
|
||||
live: overview.visible
|
||||
}
|
||||
}
|
||||
}
|
||||
TapHandler { onTapped: {
|
||||
if (modelData < 0) return
|
||||
Hyprland.dispatch(`hl.dsp.focus({workspace = ${modelData + 1}})`)
|
||||
root.close()
|
||||
}}
|
||||
@@ -70,5 +75,11 @@ Grid {
|
||||
WorkspaceView {
|
||||
modelData: -100
|
||||
bottomRightRadius: 12
|
||||
TapHandler {
|
||||
onTapped: {
|
||||
Hyprland.dispatch(`hl.dsp.workspace.toggle_special()`)
|
||||
root.close()
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user