bar modules own active state, fix circular effectiveVisible deadlock in BarGroup
This commit is contained in:
parent
7eaa50327f
commit
7e594b7f8d
24 changed files with 52 additions and 73 deletions
|
|
@ -9,8 +9,7 @@ import "../applets" as C
|
|||
M.BarModule {
|
||||
id: root
|
||||
spacing: S.Theme.moduleSpacing
|
||||
opacity: S.Modules.mpris.enable && S.MprisService.player !== null ? 1 : 0
|
||||
visible: opacity > 0
|
||||
active: S.Modules.mpris.enable && S.MprisService.player !== null
|
||||
tooltip: S.MprisService.player ? (S.MprisService.player.trackTitle || S.MprisService.player.identity || "Media") + (S.MprisService.playing ? " (playing)" : " (paused)") : "Media"
|
||||
panelNamespace: "nova-mpris"
|
||||
panelTitle: "Now Playing"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue