From ac2ef10d3f049c96086ef8c337b7820a8fac970a Mon Sep 17 00:00:00 2001 From: 2 * r + 2 * t <61896496+soramanew@users.noreply.github.com> Date: Thu, 8 May 2025 13:32:27 +1000 Subject: refactor: move drawers into separate module --- modules/drawers/Exclusions.qml | 39 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 39 insertions(+) create mode 100644 modules/drawers/Exclusions.qml (limited to 'modules/drawers/Exclusions.qml') diff --git a/modules/drawers/Exclusions.qml b/modules/drawers/Exclusions.qml new file mode 100644 index 0000000..c8b3959 --- /dev/null +++ b/modules/drawers/Exclusions.qml @@ -0,0 +1,39 @@ +pragma ComponentBehavior: Bound + +import "root:/widgets" +import "root:/config" +import Quickshell + +Scope { + id: root + + required property ShellScreen screen + + ExclusionZone { + anchors.left: false + } + + ExclusionZone { + anchors.top: false + } + + ExclusionZone { + anchors.right: false + } + + ExclusionZone { + anchors.bottom: false + } + + component ExclusionZone: StyledWindow { + screen: root.screen + name: "border-exclusion" + width: BorderConfig.thickness + height: BorderConfig.thickness + + anchors.top: true + anchors.left: true + anchors.bottom: true + anchors.right: true + } +} -- cgit v1.2.3-freya