From e08b910471d47f6b19062c1e782307ce8584f939 Mon Sep 17 00:00:00 2001 From: lucy Date: Sun, 18 Jan 2026 01:29:27 +0100 Subject: [PATCH] make wallust generate colorscheme from ipc --- modules/bar/Workspaces.qml | 1 + modules/ipc/Ipc.qml | 19 ++++++++++++++----- reusables/CustomIcon.qml | 5 +++-- 3 files changed, 18 insertions(+), 7 deletions(-) diff --git a/modules/bar/Workspaces.qml b/modules/bar/Workspaces.qml index e61fcc6..399567c 100644 --- a/modules/bar/Workspaces.qml +++ b/modules/bar/Workspaces.qml @@ -48,6 +48,7 @@ Item { MouseArea { anchors.fill: parent acceptedButtons: Qt.LeftButton + cursorShape: Qt.PointingHandCursor onClicked: { parent.modelData.activate(); } diff --git a/modules/ipc/Ipc.qml b/modules/ipc/Ipc.qml index 2beeca3..13b6dec 100644 --- a/modules/ipc/Ipc.qml +++ b/modules/ipc/Ipc.qml @@ -3,10 +3,19 @@ import QtQuick import Quickshell.Io import "../../settings/" -IpcHandler { - id: ipcHandler - target: "settings" - function setWall(newWall: string): void { - Settings.config.currentWall = newWall; +Item { + IpcHandler { + id: ipcHandler + target: "settings" + function setWall(newWall: string): void { + Settings.config.currentWall = newWall; + wallustRunner.exec(wallustRunner.command); + } + } + Process { + id: wallustRunner + property string cmd: "wallust run " + Settings.config.currentWall + command: ["sh", "-c", cmd] + onStarted: console.log("started wallust runner" + command) } } diff --git a/reusables/CustomIcon.qml b/reusables/CustomIcon.qml index f8ddafe..bea7f60 100644 --- a/reusables/CustomIcon.qml +++ b/reusables/CustomIcon.qml @@ -3,11 +3,12 @@ import "../settings/" import "../" Text { - font.family: "Material Symbols Rounded" + font.family: "Material Symbols Sharp" color: Colors.foreground font.pixelSize: Settings.config.fontSize + 1 font.variableAxes: ({ + FILL: 1, GRAD: 200, - wght: 400 + wght: 500 }) }