nosignal-shell/modules/drawers/Exclusions.qml
2 * r + 2 * t e3dcdbb67c internal: move bar to drawer window
Fixes a few bugs, also removes need for hyprland order layerrule
2025-06-07 14:47:24 +10:00

36 lines
630 B
QML

pragma ComponentBehavior: Bound
import "root:/widgets"
import "root:/config"
import Quickshell
import QtQuick
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: StyledWindow {
screen: root.screen
name: "border-exclusion"
exclusiveZone: BorderConfig.thickness
}
}