diff options
| author | 2 * r + 2 * t <61896496+soramanew@users.noreply.github.com> | 2025-05-08 13:32:27 +1000 |
|---|---|---|
| committer | 2 * r + 2 * t <61896496+soramanew@users.noreply.github.com> | 2025-05-08 13:32:27 +1000 |
| commit | ac2ef10d3f049c96086ef8c337b7820a8fac970a (patch) | |
| tree | 1ad83b8b96ad59423a7f2694298c77e516d5c4d4 /modules/background/Background.qml | |
| parent | wallpaper: fix flash when changing wallpapers (diff) | |
| download | caelestia-shell-ac2ef10d3f049c96086ef8c337b7820a8fac970a.tar.gz caelestia-shell-ac2ef10d3f049c96086ef8c337b7820a8fac970a.tar.bz2 caelestia-shell-ac2ef10d3f049c96086ef8c337b7820a8fac970a.zip | |
refactor: move drawers into separate module
Diffstat (limited to 'modules/background/Background.qml')
| -rw-r--r-- | modules/background/Background.qml | 32 |
1 files changed, 12 insertions, 20 deletions
diff --git a/modules/background/Background.qml b/modules/background/Background.qml index fe02a1a..ca3aaff 100644 --- a/modules/background/Background.qml +++ b/modules/background/Background.qml @@ -5,30 +5,22 @@ import Quickshell.Wayland Variants { model: Quickshell.screens - Scope { - id: scope + StyledWindow { + id: win required property ShellScreen modelData - Border { - screen: scope.modelData - } + screen: modelData + name: "background" + exclusionMode: ExclusionMode.Ignore + layer: WlrLayer.Background + color: "black" - StyledWindow { - id: win + anchors.top: true + anchors.bottom: true + anchors.left: true + anchors.right: true - screen: scope.modelData - name: "background" - exclusionMode: ExclusionMode.Ignore - layer: WlrLayer.Background - color: "black" - - anchors.top: true - anchors.bottom: true - anchors.left: true - anchors.right: true - - Wallpaper {} - } + Wallpaper {} } } |