summaryrefslogtreecommitdiff
path: root/accounts/gkleen@sif/shell/quickshell/LockSurface.qml
diff options
context:
space:
mode:
authorGregor Kleen <gkleen@yggdrasil.li>2025-09-12 11:24:23 +0200
committerGregor Kleen <gkleen@yggdrasil.li>2025-09-12 11:24:23 +0200
commitda23e39c353e68fdc7c5839d78945e88352a7f92 (patch)
treecf7af16cdb787d87e61ce4f084e132bc61eb2799 /accounts/gkleen@sif/shell/quickshell/LockSurface.qml
parent67be63e507a7b03bc4f88131202f23be54ffbede (diff)
downloadnixos-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/LockSurface.qml')
-rw-r--r--accounts/gkleen@sif/shell/quickshell/LockSurface.qml6
1 files changed, 5 insertions, 1 deletions
diff --git a/accounts/gkleen@sif/shell/quickshell/LockSurface.qml b/accounts/gkleen@sif/shell/quickshell/LockSurface.qml
index 18698725..f4f8f0cd 100644
--- a/accounts/gkleen@sif/shell/quickshell/LockSurface.qml
+++ b/accounts/gkleen@sif/shell/quickshell/LockSurface.qml
@@ -110,7 +110,11 @@ Item {
110 NumberAnimation { 110 NumberAnimation {
111 target: imageEffect 111 target: imageEffect
112 properties: "opacity" 112 properties: "opacity"
113 duration: 5000 113 duration: {
114 if (img === one && two.source == "" || img === two && one.source == "")
115 return 0;
116 return 5000;
117 }
114 easing.type: Easing.OutCubic 118 easing.type: Easing.OutCubic
115 } 119 }
116 ScriptAction { 120 ScriptAction {