config moved to c++ plugin, removed old qml + fileview implementation

This commit is contained in:
2026-08-13 02:25:26 +02:00
parent c29b91cd26
commit 3cd3209b28
341 changed files with 4851 additions and 3502 deletions
+9 -9
View File
@@ -5,7 +5,7 @@ import QtQuick.Layouts
import M3Shapes
import ZShell.Services
import qs.Components
import qs.Config
import ZShell.Config
import qs.Effects
CustomRect {
@@ -16,9 +16,9 @@ CustomRect {
return 1 + Math.pow(Math.abs(diff), 0.8) * Math.sign(diff);
}
color: DynamicColors.tPalette.m3surfaceContainer
color: Colors.tPalette.m3surfaceContainer
implicitHeight: layout.implicitHeight + layout.anchors.margins * 2
radius: Appearance.rounding.small
radius: Tokens.rounding.small
ServiceRef {
service: Cpu
@@ -36,25 +36,25 @@ CustomRect {
id: layout
anchors.fill: parent
anchors.margins: Appearance.padding.large
spacing: Appearance.spacing.large
anchors.margins: Tokens.padding.large
spacing: Tokens.spacing.large
Resource {
id: cpu
fgColor: DynamicColors.palette.m3primary
fgColor: Colors.palette.m3primary
icon: "memory"
value: Cpu.percentage
}
Resource {
fgColor: DynamicColors.palette.m3tertiary
fgColor: Colors.palette.m3tertiary
icon: "memory_alt"
value: Memory.percentage
}
Resource {
fgColor: DynamicColors.palette.m3secondary
fgColor: Colors.palette.m3secondary
icon: "hard_disk"
value: Storage.percentage
}
@@ -76,7 +76,7 @@ CustomRect {
MaterialIcon {
anchors.centerIn: parent
color: res.fgColor
font.pointSize: Appearance.font.size.extraLarge
font.pointSize: Tokens.font.size.extraLarge
text: res.icon
}
}