summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGregor Kleen <gkleen@yggdrasil.li>2026-09-29 08:55:53 +0200
committerGregor Kleen <gkleen@yggdrasil.li>2026-09-29 08:55:53 +0200
commita9d6456f49347b6e6280ebb5355db10c5718a357 (patch)
treec6472901ebb0ebbdeec2bbf457486ad0e739a683
parenta4acc43150d3315d21578e3bfb7290fa2c34f1ac (diff)
downloadnixos-a9d6456f49347b6e6280ebb5355db10c5718a357.tar
nixos-a9d6456f49347b6e6280ebb5355db10c5718a357.tar.gz
nixos-a9d6456f49347b6e6280ebb5355db10c5718a357.tar.bz2
nixos-a9d6456f49347b6e6280ebb5355db10c5718a357.tar.xz
nixos-a9d6456f49347b6e6280ebb5355db10c5718a357.zip
...
-rw-r--r--accounts/gkleen@skadhi/rzm/default.nix2
-rw-r--r--accounts/gkleen@skadhi/shell/quickshell/NotificationDisplay.qml2
-rw-r--r--overlays/quickshell/default.nix1
-rw-r--r--overlays/quickshell/notify-session-unlock.patch15
4 files changed, 18 insertions, 2 deletions
diff --git a/accounts/gkleen@skadhi/rzm/default.nix b/accounts/gkleen@skadhi/rzm/default.nix
index cea4a58a..2524bf48 100644
--- a/accounts/gkleen@skadhi/rzm/default.nix
+++ b/accounts/gkleen@skadhi/rzm/default.nix
@@ -205,7 +205,7 @@ in {
205 KexAlgorithms = "+diffie-hellman-group1-sha1"; 205 KexAlgorithms = "+diffie-hellman-group1-sha1";
206 }; 206 };
207 "*.mathinst.loc" = { 207 "*.mathinst.loc" = {
208 header = "Host *.mathinst.loc,*.cipmath.loc,*.math.lmu.de"; 208 header = "Host *.mathinst.loc *.cipmath.loc *.math.lmu.de";
209 IdentityFile = "~/.ssh/gkleen@mathinst.loc"; 209 IdentityFile = "~/.ssh/gkleen@mathinst.loc";
210 HostKeyAlgorithms = "+ssh-rsa"; 210 HostKeyAlgorithms = "+ssh-rsa";
211 PubkeyAcceptedAlgorithms = "+ssh-rsa"; 211 PubkeyAcceptedAlgorithms = "+ssh-rsa";
diff --git a/accounts/gkleen@skadhi/shell/quickshell/NotificationDisplay.qml b/accounts/gkleen@skadhi/shell/quickshell/NotificationDisplay.qml
index cc0e49b1..51c3f9f7 100644
--- a/accounts/gkleen@skadhi/shell/quickshell/NotificationDisplay.qml
+++ b/accounts/gkleen@skadhi/shell/quickshell/NotificationDisplay.qml
@@ -63,7 +63,7 @@ Scope {
63 } 63 }
64 64
65 margins { 65 margins {
66 right: 26 + 8 66 right: 2 + 8
67 top: 8 + spaceAbove 67 top: 8 + spaceAbove
68 } 68 }
69 69
diff --git a/overlays/quickshell/default.nix b/overlays/quickshell/default.nix
index 7b719231..47aee5ac 100644
--- a/overlays/quickshell/default.nix
+++ b/overlays/quickshell/default.nix
@@ -17,6 +17,7 @@
17 17
18 patches = (oldAttrs.patches or []) ++ [ 18 patches = (oldAttrs.patches or []) ++ [
19 # ./lock-state-changed.patch 19 # ./lock-state-changed.patch
20 ./notify-session-unlock.patch
20 ./pipewire.patch 21 ./pipewire.patch
21 ./io.patch 22 ./io.patch
22 ./close-stdin.patch 23 ./close-stdin.patch
diff --git a/overlays/quickshell/notify-session-unlock.patch b/overlays/quickshell/notify-session-unlock.patch
new file mode 100644
index 00000000..d0b835eb
--- /dev/null
+++ b/overlays/quickshell/notify-session-unlock.patch
@@ -0,0 +1,15 @@
1diff --git i/src/wayland/session_lock.cpp w/src/wayland/session_lock.cpp
2index 43d80e2..742d683 100644
3--- i/src/wayland/session_lock.cpp
4+++ w/src/wayland/session_lock.cpp
5@@ -179,8 +179,9 @@ void WlSessionLock::unlock() {
6
7 this->surfaces.clear();
8
9+ auto wasLocked = this->isLocked();
10 if (this->manager) this->manager->unlock();
11- if (this->isLocked()) emit this->lockStateChanged();
12+ if (wasLocked != this->isLocked()) emit this->lockStateChanged();
13 }
14
15 void WlSessionLock::onScreensChanged() {