mpris stuff

This commit is contained in:
kossLAN 2025-06-15 22:52:00 -04:00
parent 233e12e094
commit f0673a66a2
Signed by: kossLAN
SSH key fingerprint: SHA256:bdV0x+wdQHGJ6LgmstH3KV8OpWY+OOFmJcPcB0wQPV8
10 changed files with 192 additions and 104 deletions

View file

@ -14,35 +14,17 @@ import "wallpaper" as Wallpaper
import "screencapture" as ScreenCapture
ShellRoot {
// Singleton's that need to be loaded in some way
Bar.Controller {}
Wallpaper.Controller {}
Notifications.Controller {}
VolumeOSD.Controller {}
Component.onCompleted: {
Launcher.Controller.init();
Settings.Controller.init();
ScreenCapture.Controller.init();
Mpris.Controller.init();
Notifications.NotificationCenter.init();
LockScreen.Controller.init();
}
// Elements that need context from all screens
Variants {
model: Quickshell.screens
Scope {
id: scope
property var modelData
Bar.Bar {
screen: scope.modelData
}
LockScreen.Controller {}
}
}
// On activation components
Notifications.Controller {}
VolumeOSD.Controller {}
// this is an exception...
Wallpaper.Controller {}
}