Introduced Notification server, and added background thorugh quickshell

This commit is contained in:
2025-09-13 23:51:14 -04:00
parent 55a97da636
commit 7081a48426
13 changed files with 263 additions and 10 deletions

36
background/Background.qml Normal file
View File

@@ -0,0 +1,36 @@
pragma ComponentBehavior: Bound
import qs.common
import Quickshell
import Quickshell.Wayland
import QtQuick
Loader {
asynchronous: true
active: Config.background.enabled
sourceComponent: Variants {
model: Quickshell.screens
PanelWindow {
id: background
required property ShellScreen modelData
screen: modelData
WlrLayershell.namespace: "hydro-os-background"
WlrLayershell.exclusionMode: ExclusionMode.Ignore
WlrLayershell.layer: WlrLayer.Background
color: "black"
anchors {
top: true
bottom: true
left: true
right: true
}
Wallpaper {}
}
}
}

19
background/Wallpaper.qml Normal file
View File

@@ -0,0 +1,19 @@
pragma ComponentBehavior: Bound
import qs.common
import QtQuick
Item {
id: root
property string source: Config.options.background.wallpaperPath
property Image current: one
anchors.fill: parent
Image {
id: one
source: root.source
anchors.fill: parent
}
}