mirror of
https://github.com/kossLAN/dots.git
synced 2025-11-05 06:59:50 -05:00
mpris stuff
This commit is contained in:
parent
233e12e094
commit
f0673a66a2
10 changed files with 192 additions and 104 deletions
30
shell.qml
30
shell.qml
|
|
@ -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 {}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue