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 Quickshell.Io
|
||||
import Quickshell.Wayland
|
||||
|
||||
Rectangle {
|
||||
color: "transparent"
|
||||
anchors.fill: parent
|
||||
|
||||
AnimatedImage {
|
||||
anchors.fill: parent
|
||||
source: "../Gifs/evernight.gif"
|
||||
fillMode: Image.PreserveAspectFit
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user