clean up
This commit is contained in:
@@ -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
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
@@ -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
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user