mirror of
https://github.com/kossLAN/dots.git
synced 2025-11-05 06:59:50 -05:00
mpris: add ipc handler for multimedia keys
This commit is contained in:
parent
15ffd6d5b0
commit
233e12e094
8 changed files with 43 additions and 456 deletions
13
shell.qml
13
shell.qml
|
|
@ -5,6 +5,7 @@ import Quickshell
|
|||
import QtQuick
|
||||
import "bar" as Bar
|
||||
import "notifications" as Notifications
|
||||
import "mpris" as Mpris
|
||||
import "volume-osd" as VolumeOSD
|
||||
import "settings" as Settings
|
||||
import "launcher" as Launcher
|
||||
|
|
@ -13,13 +14,16 @@ import "wallpaper" as Wallpaper
|
|||
import "screencapture" as ScreenCapture
|
||||
|
||||
ShellRoot {
|
||||
// Singleton's that need to be loaded in some way
|
||||
Component.onCompleted: {
|
||||
Launcher.Controller.init();
|
||||
Settings.Controller.init();
|
||||
Notifications.NotificationCenter.init();
|
||||
ScreenCapture.Controller.init();
|
||||
Mpris.Controller.init();
|
||||
Notifications.NotificationCenter.init();
|
||||
}
|
||||
|
||||
// Elements that need context from all screens
|
||||
Variants {
|
||||
model: Quickshell.screens
|
||||
|
||||
|
|
@ -31,13 +35,14 @@ ShellRoot {
|
|||
screen: scope.modelData
|
||||
}
|
||||
|
||||
LockScreen.Controller {
|
||||
|
||||
}
|
||||
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