mirror of
https://github.com/AvengeMedia/DankMaterialShell.git
synced 2026-04-03 20:32:07 -04:00
35 lines
724 B
QML
35 lines
724 B
QML
pragma ComponentBehavior: Bound
|
|
|
|
import QtQuick
|
|
import Quickshell
|
|
import Quickshell.Wayland
|
|
import qs.Common
|
|
|
|
PanelWindow {
|
|
id: win
|
|
|
|
required property ShellScreen screen
|
|
|
|
WlrLayershell.namespace: "dms:frame"
|
|
WlrLayershell.layer: WlrLayer.Top
|
|
WlrLayershell.exclusionMode: ExclusionMode.Ignore
|
|
|
|
anchors {
|
|
top: true
|
|
bottom: true
|
|
left: true
|
|
right: true
|
|
}
|
|
|
|
color: "transparent"
|
|
|
|
// No input — pass everything through to apps and bar
|
|
mask: Region {}
|
|
|
|
FrameBorder {
|
|
anchors.fill: parent
|
|
visible: SettingsData.frameEnabled
|
|
barEdges: { SettingsData.barConfigs; return SettingsData.getActiveBarEdgesForScreen(win.screen); }
|
|
}
|
|
}
|