mirror of
https://github.com/belsabbagh/dotfiles.git
synced 2026-04-11 09:36:46 +00:00
40 lines
710 B
QML
40 lines
710 B
QML
pragma ComponentBehavior: Bound
|
|
|
|
import qs.components.containers
|
|
import qs.config
|
|
import Quickshell
|
|
import QtQuick
|
|
|
|
Scope {
|
|
id: root
|
|
|
|
required property ShellScreen screen
|
|
required property Item 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: Config.border.thickness
|
|
mask: Region {}
|
|
implicitWidth: 1
|
|
implicitHeight: 1
|
|
}
|
|
}
|