39 lines
726 B
QML
39 lines
726 B
QML
|
|
||
|
pragma ComponentBehavior: Bound
|
||
|
import Quickshell
|
||
|
import QtQuick
|
||
|
|
||
|
import "../../config"
|
||
|
|
||
|
Scope {
|
||
|
id: root
|
||
|
required property ShellScreen screen
|
||
|
required property Item bar
|
||
|
|
||
|
ExclusionZone {
|
||
|
anchors.left: true
|
||
|
exclusiveZone: root.bar.implicitWidth
|
||
|
}
|
||
|
|
||
|
ExclusionZone {
|
||
|
anchors.top: true
|
||
|
}
|
||
|
|
||
|
ExclusionZone {
|
||
|
anchors.right: true
|
||
|
}
|
||
|
|
||
|
ExclusionZone {
|
||
|
anchors.bottom: true
|
||
|
}
|
||
|
|
||
|
component ExclusionZone: PanelWindow {
|
||
|
screen: root.screen
|
||
|
color: "transparent"
|
||
|
exclusiveZone: Config.border.thickness
|
||
|
implicitHeight: Config.border.thickness
|
||
|
implicitWidth: Config.border.thickness
|
||
|
mask: Region {}
|
||
|
}
|
||
|
}
|