switch color generation to wallust

This commit is contained in:
lucy 2026-02-20 15:43:31 +01:00
parent c1267d5d8e
commit 1b8de6d630
3 changed files with 6 additions and 6 deletions

View File

@ -77,7 +77,7 @@ Rectangle {
hoverEnabled: true hoverEnabled: true
onEntered: { onEntered: {
batPopup.visible = true; batPopup.visible = true;
batPopup.popupText = "Volume: " + root.vol + "%"; batPopup.popupText = "Vol " + root.vol + "%";
} }
onExited: { onExited: {
batPopup.visible = false; batPopup.visible = false;

View File

@ -23,7 +23,7 @@ FloatingWindow {
} }
Process { Process {
id: wallustRunner id: wallustRunner
property string cmd: "matugen image " + Settings.config.currentWall + " --source-color-index 0" property string cmd: "wallust run " + Settings.config.currentWall
command: ["sh", "-c", cmd] command: ["sh", "-c", cmd]
} }
GlobalShortcut { GlobalShortcut {

View File

@ -5,16 +5,16 @@ import qs.settings
Text { Text {
id: root id: root
color: Colors.onSurfaceColor color: Colors.onSurfaceColor
property real iconSize: 16 property real iconSize: 18
property real fill: 1 property real fill: 0
renderType: Text.NativeRendering renderType: Text.NativeRendering
font { font {
hintingPreference: Font.PreferNoHinting hintingPreference: Font.PreferNoHinting
family: "Material Symbols Outlined" family: "Material Symbols Rounded"
pixelSize: iconSize pixelSize: iconSize
weight: Font.Normal + (Font.DemiBold - Font.Normal) * fill weight: Font.Normal + (Font.DemiBold - Font.Normal) * fill
variableAxes: { variableAxes: {
"FILL": fill, "FILL": fill.toFixed(1),
"opsz": iconSize "opsz": iconSize
} }
} }