feat: hidden mode
This commit is contained in:
parent
589aaaf95f
commit
608854ba03
4 changed files with 38 additions and 4 deletions
|
|
@ -9,6 +9,7 @@ Scope {
|
|||
id: root
|
||||
|
||||
required property ShellScreen screen
|
||||
property bool enabled: true
|
||||
|
||||
ExclusionZone {
|
||||
anchors.left: true
|
||||
|
|
@ -16,7 +17,7 @@ Scope {
|
|||
|
||||
ExclusionZone {
|
||||
anchors.top: true
|
||||
exclusiveZone: Config.bar.height
|
||||
exclusiveZone: root.enabled ? Config.bar.height : undefined
|
||||
}
|
||||
|
||||
ExclusionZone {
|
||||
|
|
@ -30,7 +31,8 @@ Scope {
|
|||
component ExclusionZone: CustomWindow {
|
||||
screen: root.screen
|
||||
name: "border-exclusion"
|
||||
exclusiveZone: Config.border.thickness
|
||||
exclusionMode: root.enabled ? ExclusionMode.Normal : ExclusionMode.Ignore
|
||||
exclusiveZone: root.enabled ? Config.border.thickness : undefined
|
||||
mask: Region {}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue