fix some deprecations
This commit is contained in:
parent
1137b5a754
commit
a8244cde67
3 changed files with 7 additions and 2 deletions
|
|
@ -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 {
|
||||||
|
|
|
||||||
|
|
@ -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
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -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
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue