This commit is contained in:
2025-10-21 22:48:57 +02:00
parent 1a39b63b20
commit 7fa9f85856
3 changed files with 2 additions and 24 deletions
-15
View File
@@ -1,15 +0,0 @@
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
}
}
}