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
}
}
}
-5
View File
@@ -1,14 +1,9 @@
pragma ComponentBehavior: Bound
import QtQuick import QtQuick
import Quickshell.Io import Quickshell.Io
import Quickshell.Wayland import Quickshell.Wayland
Rectangle { Rectangle {
color: "transparent"
anchors.fill: parent
AnimatedImage { AnimatedImage {
anchors.fill: parent
source: "../Gifs/evernight.gif" source: "../Gifs/evernight.gif"
fillMode: Image.PreserveAspectFit fillMode: Image.PreserveAspectFit
} }
+2 -4
View File
@@ -24,11 +24,9 @@ PanelWindow {
implicitWidth: 320 implicitWidth: 320
implicitHeight: 293 implicitHeight: 293
ToggleLayer {
id: toggleHelper
}
PetMarch { PetMarch {
id: petMarch id: petMarch
color: mainWindow.color
anchors.fill: parent
} }
} }