make wallust generate colorscheme from ipc
This commit is contained in:
parent
1cd52d9a52
commit
e08b910471
@ -48,6 +48,7 @@ Item {
|
|||||||
MouseArea {
|
MouseArea {
|
||||||
anchors.fill: parent
|
anchors.fill: parent
|
||||||
acceptedButtons: Qt.LeftButton
|
acceptedButtons: Qt.LeftButton
|
||||||
|
cursorShape: Qt.PointingHandCursor
|
||||||
onClicked: {
|
onClicked: {
|
||||||
parent.modelData.activate();
|
parent.modelData.activate();
|
||||||
}
|
}
|
||||||
|
|||||||
@ -3,10 +3,19 @@ import QtQuick
|
|||||||
import Quickshell.Io
|
import Quickshell.Io
|
||||||
import "../../settings/"
|
import "../../settings/"
|
||||||
|
|
||||||
|
Item {
|
||||||
IpcHandler {
|
IpcHandler {
|
||||||
id: ipcHandler
|
id: ipcHandler
|
||||||
target: "settings"
|
target: "settings"
|
||||||
function setWall(newWall: string): void {
|
function setWall(newWall: string): void {
|
||||||
Settings.config.currentWall = newWall;
|
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 "../"
|
import "../"
|
||||||
|
|
||||||
Text {
|
Text {
|
||||||
font.family: "Material Symbols Rounded"
|
font.family: "Material Symbols Sharp"
|
||||||
color: Colors.foreground
|
color: Colors.foreground
|
||||||
font.pixelSize: Settings.config.fontSize + 1
|
font.pixelSize: Settings.config.fontSize + 1
|
||||||
font.variableAxes: ({
|
font.variableAxes: ({
|
||||||
|
FILL: 1,
|
||||||
GRAD: 200,
|
GRAD: 200,
|
||||||
wght: 400
|
wght: 500
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user