fix some deprecations

This commit is contained in:
Anas Khalifa
2025-07-20 11:18:20 +03:00
parent 1137b5a754
commit a8244cde67
3 changed files with 7 additions and 2 deletions
+1 -1
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 {
+1 -1
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
} }
} }
+5
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