plugin: rust-side modules + theme services with serde-typed config
This commit is contained in:
parent
a86e90e927
commit
f34f3f2f4e
95 changed files with 2477 additions and 1011 deletions
|
|
@ -5,11 +5,12 @@ import Quickshell.Services.Mpris
|
|||
import "." as M
|
||||
import "../services" as S
|
||||
import "../applets" as C
|
||||
import NovaStats as NS
|
||||
|
||||
M.BarModule {
|
||||
id: root
|
||||
spacing: S.Theme.moduleSpacing
|
||||
active: S.Modules.mpris.enable && S.MprisService.player !== null
|
||||
spacing: NS.ThemeService.moduleSpacing
|
||||
active: NS.ModulesService.mprisEnable && 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"
|
||||
panelContentWidth: 280
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue