fix some deprecations

This commit is contained in:
Anas Khalifa 2025-07-20 11:18:20 +03:00
parent 1137b5a754
commit a8244cde67
No known key found for this signature in database
GPG key ID: 572E1C0A5586601C
3 changed files with 7 additions and 2 deletions

View file

@ -23,7 +23,7 @@ Singleton {
Process { Process {
id: zigstatProcess id: zigstatProcess
running: true running: true
command: [Quickshell.shellRoot + "/Programs/zigstat", updateInterval] command: [Quickshell.shellDir + "/Programs/zigstat", updateInterval]
stdout: SplitParser { stdout: SplitParser {
onRead: function (line) { onRead: function (line) {
try { try {

View file

@ -116,7 +116,7 @@ Singleton {
Process { Process {
id: generateThemeProcess id: generateThemeProcess
command: ["wallust", "run", currentWallpaper, "-u", "-k", "-d", "Templates"] command: ["wallust", "run", currentWallpaper, "-u", "-k", "-d", "Templates"]
workingDirectory: Quickshell.configDir workingDirectory: Quickshell.shellDir
running: false running: false
} }
} }

View file

@ -60,6 +60,11 @@ Rectangle {
cache: false cache: false
sourceSize.width: 44 sourceSize.width: 44
sourceSize.height: 44 sourceSize.height: 44
onStatusChanged: {
if (status === Image.Error) {
avatarImage.visible = false;
}
}
} }
maskSource: Rectangle { maskSource: Rectangle {
width: 44 width: 44