diff options
author | Gregor Kleen <gkleen@yggdrasil.li> | 2025-09-12 11:24:23 +0200 |
---|---|---|
committer | Gregor Kleen <gkleen@yggdrasil.li> | 2025-09-12 11:24:23 +0200 |
commit | da23e39c353e68fdc7c5839d78945e88352a7f92 (patch) | |
tree | cf7af16cdb787d87e61ce4f084e132bc61eb2799 /accounts/gkleen@sif/shell/quickshell/WallpaperBackground.qml | |
parent | 67be63e507a7b03bc4f88131202f23be54ffbede (diff) | |
download | nixos-da23e39c353e68fdc7c5839d78945e88352a7f92.tar nixos-da23e39c353e68fdc7c5839d78945e88352a7f92.tar.gz nixos-da23e39c353e68fdc7c5839d78945e88352a7f92.tar.bz2 nixos-da23e39c353e68fdc7c5839d78945e88352a7f92.tar.xz nixos-da23e39c353e68fdc7c5839d78945e88352a7f92.zip |
...
Diffstat (limited to 'accounts/gkleen@sif/shell/quickshell/WallpaperBackground.qml')
-rw-r--r-- | accounts/gkleen@sif/shell/quickshell/WallpaperBackground.qml | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/accounts/gkleen@sif/shell/quickshell/WallpaperBackground.qml b/accounts/gkleen@sif/shell/quickshell/WallpaperBackground.qml index de31915f..4f85a900 100644 --- a/accounts/gkleen@sif/shell/quickshell/WallpaperBackground.qml +++ b/accounts/gkleen@sif/shell/quickshell/WallpaperBackground.qml | |||
@@ -73,7 +73,11 @@ Item { | |||
73 | NumberAnimation { | 73 | NumberAnimation { |
74 | target: img | 74 | target: img |
75 | properties: "opacity" | 75 | properties: "opacity" |
76 | duration: 5000 | 76 | duration: { |
77 | if (img === one && two.source == "" || img === two && one.source == "") | ||
78 | return 0; | ||
79 | return 5000; | ||
80 | } | ||
77 | easing.type: Easing.OutCubic | 81 | easing.type: Easing.OutCubic |
78 | } | 82 | } |
79 | ScriptAction { | 83 | ScriptAction { |