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
|
|
@ -1,12 +1,13 @@
|
|||
import QtQuick
|
||||
import Quickshell
|
||||
import "../services" as S
|
||||
import NovaStats as NS
|
||||
|
||||
Item {
|
||||
id: root
|
||||
|
||||
property bool running: false
|
||||
property bool reducedMotion: S.Theme.reducedMotion
|
||||
property bool reducedMotion: S.ThemeUtil.reducedMotion
|
||||
readonly property real wavePhase: fx.uWavePhase
|
||||
|
||||
ShaderEffect {
|
||||
|
|
@ -22,9 +23,9 @@ Item {
|
|||
property real uGlitch: 0
|
||||
property real uGlitchSeed: 0.0
|
||||
property vector4d uResolution: Qt.vector4d(width, height, 0, 0)
|
||||
property color uC0: S.Theme.base0C
|
||||
property color uC1: S.Theme.base0E
|
||||
property color uC2: S.Theme.base09
|
||||
property color uC0: NS.ThemeService.base0C
|
||||
property color uC1: NS.ThemeService.base0E
|
||||
property color uC2: NS.ThemeService.base09
|
||||
|
||||
Connections {
|
||||
target: root
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue