nosignal-shell/modules/drawers/Exclusions.qml
2026-04-13 16:42:00 +10:00

40 lines
768 B
QML

pragma ComponentBehavior: Bound
import QtQuick
import Quickshell
import Caelestia.Config
import qs.components.containers
import qs.modules.bar as Bar
Scope {
id: root
required property ShellScreen screen
required property Bar.BarWrapper bar
ExclusionZone {
anchors.left: true
exclusiveZone: root.bar.exclusiveZone
}
ExclusionZone {
anchors.top: true
}
ExclusionZone {
anchors.right: true
}
ExclusionZone {
anchors.bottom: true
}
component ExclusionZone: StyledWindow {
screen: root.screen
name: "border-exclusion"
exclusiveZone: contentItem.Config.border.thickness
mask: Region {}
implicitWidth: 1
implicitHeight: 1
}
}