desktop: drop hyprpaper + speechd, quickshell draws wallpaper
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
parent
b2ee737f97
commit
eb80358748
3 changed files with 29 additions and 6 deletions
|
|
@ -214,6 +214,7 @@ in
|
|||
//@ pragma UseQApplication
|
||||
import Quickshell
|
||||
import Quickshell.Io
|
||||
import Quickshell.Wayland
|
||||
import Quickshell.Services.Notifications
|
||||
import QtQuick
|
||||
|
||||
|
|
@ -262,6 +263,26 @@ in
|
|||
}
|
||||
}
|
||||
|
||||
// Wallpaper — replaces the hyprpaper daemon.
|
||||
Variants {
|
||||
model: Quickshell.screens
|
||||
|
||||
PanelWindow {
|
||||
required property var modelData
|
||||
screen: modelData
|
||||
WlrLayershell.layer: WlrLayer.Background
|
||||
exclusionMode: ExclusionMode.Ignore
|
||||
anchors { top: true; bottom: true; left: true; right: true }
|
||||
color: "black"
|
||||
|
||||
Image {
|
||||
anchors.fill: parent
|
||||
source: "file://" + Quickshell.env("HOME") + "/.local/share/backgrounds/wallpaper.png"
|
||||
fillMode: Image.PreserveAspectCrop
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Variants {
|
||||
model: Quickshell.screens
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue