36 lines
831 B
QML
36 lines
831 B
QML
![]() |
import Quickshell
|
||
|
import Quickshell.Wayland
|
||
|
import QtQuick
|
||
|
|
||
|
import qs.config
|
||
|
|
||
|
WlrLayershell {
|
||
|
id: root
|
||
|
required property ShellScreen screen
|
||
|
|
||
|
property var overviewZoom: 0.6
|
||
|
layer: WlrLayer.Background
|
||
|
namespace: "shell:overview"
|
||
|
exclusionMode: ExclusionMode.Ignore
|
||
|
property int bottomMargin: (screen.height - screen.height * overviewZoom) / 2
|
||
|
implicitHeight: 65
|
||
|
implicitWidth: screen.width * overviewZoom
|
||
|
anchors {
|
||
|
bottom: true
|
||
|
}
|
||
|
margins {
|
||
|
bottom: root.bottomMargin - root.implicitHeight
|
||
|
}
|
||
|
Rectangle {
|
||
|
anchors.fill: parent
|
||
|
opacity: 0.6
|
||
|
color: Colors.base
|
||
|
}
|
||
|
Text {
|
||
|
color: "white"
|
||
|
font.pixelSize: 20
|
||
|
text: "TEST TEST TEST TEST TEST TEST TEST TEST TEST TEST TEST TEST TEST "
|
||
|
}
|
||
|
color: "transparent"
|
||
|
}
|