summaryrefslogtreecommitdiff
path: root/accounts/gkleen@sif
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
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')
-rw-r--r--accounts/gkleen@sif/shell/quickshell/LockSurface.qml6
-rw-r--r--accounts/gkleen@sif/shell/quickshell/Lockscreen.qml1
-rw-r--r--accounts/gkleen@sif/shell/quickshell/WallpaperBackground.qml6
3 files changed, 11 insertions, 2 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 {
diff --git a/accounts/gkleen@sif/shell/quickshell/Lockscreen.qml b/accounts/gkleen@sif/shell/quickshell/Lockscreen.qml
index ac2e38f8..456baa98 100644
--- a/accounts/gkleen@sif/shell/quickshell/Lockscreen.qml
+++ b/accounts/gkleen@sif/shell/quickshell/Lockscreen.qml
@@ -83,6 +83,7 @@ Scope {
83 pam.abort(); 83 pam.abort();
84 84
85 if (locked) { 85 if (locked) {
86 NiriService.sendCommand({ "Action": { "PowerOffMonitors": {} } });
86 Custom.KeePassXC.lockAllDatabases(); 87 Custom.KeePassXC.lockAllDatabases();
87 Array.from(mprisProxy.players).forEach(player => { 88 Array.from(mprisProxy.players).forEach(player => {
88 if (player.canPause && player.isPlaying) 89 if (player.canPause && player.isPlaying)
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 {