quickshell-toki-night/modules/ui/Exclusion.qml

36 lines
608 B
QML

pragma ComponentBehavior: Bound
import qs.config
import qs.custom
import Quickshell
import QtQuick
Scope {
id: root
required property ShellScreen screen
ExclusionZone {
anchors.left: true
}
ExclusionZone {
anchors.top: true
exclusiveZone: Config.bar.height
}
ExclusionZone {
anchors.right: true
}
ExclusionZone {
anchors.bottom: true
}
component ExclusionZone: CustomWindow {
screen: root.screen
name: "border-exclusion"
exclusiveZone: Config.border.thickness
mask: Region {}
}
}