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
|
||||
name: "background"
|
||||
exclusionMode: ExclusionMode.Ignore
|
||||
layer: WlrLayer.Background
|
||||
WlrLayershell.exclusionMode: ExclusionMode.Ignore
|
||||
WlrLayershell.layer: WlrLayer.Background
|
||||
color: "black"
|
||||
|
||||
anchors.top: true
|
||||
|
|
|
|||
|
|
@ -25,8 +25,8 @@ Variants {
|
|||
|
||||
screen: scope.modelData
|
||||
name: "drawers"
|
||||
exclusionMode: ExclusionMode.Ignore
|
||||
keyboardFocus: visibilities.launcher || visibilities.session ? WlrKeyboardFocus.OnDemand : WlrKeyboardFocus.None
|
||||
WlrLayershell.exclusionMode: ExclusionMode.Ignore
|
||||
WlrLayershell.keyboardFocus: visibilities.launcher || visibilities.session ? WlrKeyboardFocus.OnDemand : WlrKeyboardFocus.None
|
||||
|
||||
mask: Region {
|
||||
x: BorderConfig.thickness
|
||||
|
|
|
|||
|
|
@ -1,10 +1,11 @@
|
|||
import "root:/utils"
|
||||
import "root:/config"
|
||||
import Quickshell
|
||||
import Quickshell.Wayland
|
||||
|
||||
WlrLayershell {
|
||||
PanelWindow {
|
||||
required property string name
|
||||
|
||||
namespace: `caelestia-${name}`
|
||||
WlrLayershell.namespace: `caelestia-${name}`
|
||||
color: "transparent"
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue