Add audio visualizer to LockScreen
This commit is contained in:
parent
7c733b9f47
commit
6771248d29
4 changed files with 145 additions and 3 deletions
|
|
@ -38,7 +38,8 @@ Singleton {
|
|||
id: process
|
||||
stdinEnabled: true
|
||||
running: (Settings.data.audio.visualizerType !== "none") && (PanelService.sidePanel.active
|
||||
|| Settings.data.audio.showMiniplayerCava)
|
||||
|| Settings.data.audio.showMiniplayerCava
|
||||
|| (PanelService.lockScreen && PanelService.lockScreen.active))
|
||||
command: ["cava", "-p", "/dev/stdin"]
|
||||
onExited: {
|
||||
stdinEnabled = true
|
||||
|
|
|
|||
|
|
@ -8,6 +8,9 @@ Singleton {
|
|||
// A ref. to the sidePanel, so it's accessible from other services
|
||||
property var sidePanel: null
|
||||
|
||||
// A ref. to the lockScreen, so it's accessible from other services
|
||||
property var lockScreen: null
|
||||
|
||||
// Currently opened panel
|
||||
property var openedPanel: null
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue