This commit is contained in:
2025-10-21 22:29:38 +02:00
parent da07682764
commit 1a39b63b20
99 changed files with 118 additions and 8815 deletions
+16
View File
@@ -0,0 +1,16 @@
import QtQuick
MouseArea {
id: mouseArea
anchors.fill: parent
hoverEnabled: true
drag.target: null // Not using built-in drag behavior
onPositionChanged: {
if (mouse.buttons & Qt.LeftButton) {
petMarch.mleft = mouse.x
petMarch.mbottom = mouse.y
console.log("mleft:", petMarch.mleft, "mbottom:", petMarch.mbottom)
}
}
}
+15 -15
View File
@@ -1,15 +1,15 @@
import QtQuick
import Quickshell.Wayland
QtObject {
// The main toggle function
function toggleLayer() {
if (!onTop) {
mainWindow.WlrLayershell.layer = WlrLayer.Top
onTop = true
} else {
mainWindow.WlrLayershell.layer = WlrLayer.Bottom
onTop = false
}
}
}
import QtQuick
import Quickshell.Wayland
QtObject {
// The main toggle function
function toggleLayer() {
if (!onTop) {
mainWindow.WlrLayershell.layer = WlrLayer.Top
onTop = true
} else {
mainWindow.WlrLayershell.layer = WlrLayer.Bottom
onTop = false
}
}
}