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
|
||||
active: S.Modules.cpu.enable
|
||||
spacing: Math.max(1, S.Theme.moduleSpacing - 2)
|
||||
active: NS.ModulesService.cpuEnable
|
||||
spacing: Math.max(1, NS.ThemeService.moduleSpacing - 2)
|
||||
tooltip: "CPU: " + S.CpuService.usage + "% @ " + S.CpuService.freqGhz.toFixed(2) + " GHz"
|
||||
panelNamespace: "nova-cpu"
|
||||
panelContentWidth: 260
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue