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
|
|
@ -3,11 +3,12 @@ import Quickshell
|
|||
import "." as M
|
||||
import "../services" as S
|
||||
import "../applets" as C
|
||||
import NovaStats as NS
|
||||
|
||||
M.BarModule {
|
||||
id: root
|
||||
spacing: Math.max(1, S.Theme.moduleSpacing - 2)
|
||||
active: S.Modules.gpu.enable && S.SystemStats.gpuAvailable
|
||||
spacing: Math.max(1, NS.ThemeService.moduleSpacing - 2)
|
||||
active: NS.ModulesService.gpuEnable && S.SystemStats.gpuAvailable
|
||||
tooltip: "GPU: " + S.SystemStats.gpuUsage + "%"
|
||||
panelNamespace: "nova-gpu"
|
||||
panelContentWidth: 240
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue