internal: use panelwindow
Using WlrLayershell broke for newer versions of qs
This commit is contained in:
parent
49ce8f68a6
commit
434e31d830
3 changed files with 7 additions and 6 deletions
|
|
@ -12,8 +12,8 @@ Variants {
|
||||||
|
|
||||||
screen: modelData
|
screen: modelData
|
||||||
name: "background"
|
name: "background"
|
||||||
exclusionMode: ExclusionMode.Ignore
|
WlrLayershell.exclusionMode: ExclusionMode.Ignore
|
||||||
layer: WlrLayer.Background
|
WlrLayershell.layer: WlrLayer.Background
|
||||||
color: "black"
|
color: "black"
|
||||||
|
|
||||||
anchors.top: true
|
anchors.top: true
|
||||||
|
|
|
||||||
|
|
@ -25,8 +25,8 @@ Variants {
|
||||||
|
|
||||||
screen: scope.modelData
|
screen: scope.modelData
|
||||||
name: "drawers"
|
name: "drawers"
|
||||||
exclusionMode: ExclusionMode.Ignore
|
WlrLayershell.exclusionMode: ExclusionMode.Ignore
|
||||||
keyboardFocus: visibilities.launcher || visibilities.session ? WlrKeyboardFocus.OnDemand : WlrKeyboardFocus.None
|
WlrLayershell.keyboardFocus: visibilities.launcher || visibilities.session ? WlrKeyboardFocus.OnDemand : WlrKeyboardFocus.None
|
||||||
|
|
||||||
mask: Region {
|
mask: Region {
|
||||||
x: BorderConfig.thickness
|
x: BorderConfig.thickness
|
||||||
|
|
|
||||||
|
|
@ -1,10 +1,11 @@
|
||||||
import "root:/utils"
|
import "root:/utils"
|
||||||
import "root:/config"
|
import "root:/config"
|
||||||
|
import Quickshell
|
||||||
import Quickshell.Wayland
|
import Quickshell.Wayland
|
||||||
|
|
||||||
WlrLayershell {
|
PanelWindow {
|
||||||
required property string name
|
required property string name
|
||||||
|
|
||||||
namespace: `caelestia-${name}`
|
WlrLayershell.namespace: `caelestia-${name}`
|
||||||
color: "transparent"
|
color: "transparent"
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue