blob: 30fcae0436aa0834aad5f0172b5139d73830bb34 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
|
import "root:/widgets"
import "root:/config"
import Quickshell
Variants {
model: Quickshell.screens
Scope {
id: scope
required property ShellScreen modelData
Exclusions {
screen: scope.modelData
}
StyledWindow {
id: win
screen: scope.modelData
name: "drawers"
exclusionMode: ExclusionMode.Ignore
mask: Region {
x: BorderConfig.thickness
y: BorderConfig.thickness
width: scope.modelData.width - BorderConfig.thickness * 2
height: scope.modelData.height - BorderConfig.thickness * 2
intersection: Intersection.Xor
}
anchors.top: true
anchors.bottom: true
anchors.left: true
anchors.right: true
Border {
id: border
visible: false
screen: scope.modelData
}
LayerShadow {
source: border
}
}
}
}
|