make wallust generate colorscheme from ipc
This commit is contained in:
parent
1cd52d9a52
commit
e08b910471
@ -48,6 +48,7 @@ Item {
|
||||
MouseArea {
|
||||
anchors.fill: parent
|
||||
acceptedButtons: Qt.LeftButton
|
||||
cursorShape: Qt.PointingHandCursor
|
||||
onClicked: {
|
||||
parent.modelData.activate();
|
||||
}
|
||||
|
||||
@ -3,10 +3,19 @@ import QtQuick
|
||||
import Quickshell.Io
|
||||
import "../../settings/"
|
||||
|
||||
IpcHandler {
|
||||
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)
|
||||
}
|
||||
}
|
||||
|
||||
@ -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
|
||||
})
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user