This commit is contained in:
2026-02-13 13:50:48 -08:00
parent c3499d8071
commit 1751b5768b
3 changed files with 69 additions and 0 deletions

67
Boateye.qml Normal file
View File

@@ -0,0 +1,67 @@
import Quickshell
import Quickshell.Wayland
import Quickshell.Widgets
import Quickshell.Io
import QtQuick
import QtQuick.Effects
PanelWindow {
id: root
visible: false
anchors {
left: true
bottom: true
}
implicitHeight: 540
implicitWidth: 540
color: "transparent"
IpcHandler {
target: "boateye"
function open() {root.visible = true}
function close() {root.visible = false}
}
RectangularShadow {
anchors.fill: wrapper
radius: wrapper.radius
blur: 10
spread: 2
}
ClippingRectangle {
color: "#181818"
anchors {
left: parent.left
bottom: parent.bottom
margins: 12
}
width: 500
height: 500
id: wrapper
radius: 12
Item {
anchors.fill: parent
ScreencopyView {
width: Quickshell.screens[0].width
height: Quickshell.screens[0].height
live: true
captureSource: Quickshell.screens[0]
x: -1292
y: -450
}
transform: Scale {
origin {
x: width/2
y: height/2
}
xScale: 15
yScale: 10
}
}
Image {
anchors.fill: parent
source: "/home/spingus/Pictures/boateye.png"
}
}
}

View File

@@ -70,6 +70,7 @@ PanelWindow {
RectangularShadow {
z: -1
anchors.fill: parent
radius: 12
blur: 10
spread: 2
}

View File

@@ -4,4 +4,5 @@ import "." as Shell
ShellRoot {
Shell.Wall {}
Shell.Launcher {}
Shell.Boateye {}
}