From a9d6456f49347b6e6280ebb5355db10c5718a357 Mon Sep 17 00:00:00 2001 From: Gregor Kleen Date: Tue, 29 Sep 2026 08:55:53 +0200 Subject: ... --- accounts/gkleen@skadhi/rzm/default.nix | 2 +- .../shell/quickshell/NotificationDisplay.qml | 2 +- overlays/quickshell/default.nix | 1 + overlays/quickshell/notify-session-unlock.patch | 15 +++++++++++++++ 4 files changed, 18 insertions(+), 2 deletions(-) create mode 100644 overlays/quickshell/notify-session-unlock.patch 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 { KexAlgorithms = "+diffie-hellman-group1-sha1"; }; "*.mathinst.loc" = { - header = "Host *.mathinst.loc,*.cipmath.loc,*.math.lmu.de"; + header = "Host *.mathinst.loc *.cipmath.loc *.math.lmu.de"; IdentityFile = "~/.ssh/gkleen@mathinst.loc"; HostKeyAlgorithms = "+ssh-rsa"; 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 { } margins { - right: 26 + 8 + right: 2 + 8 top: 8 + spaceAbove } 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 @@ patches = (oldAttrs.patches or []) ++ [ # ./lock-state-changed.patch + ./notify-session-unlock.patch ./pipewire.patch ./io.patch ./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 @@ +diff --git i/src/wayland/session_lock.cpp w/src/wayland/session_lock.cpp +index 43d80e2..742d683 100644 +--- i/src/wayland/session_lock.cpp ++++ w/src/wayland/session_lock.cpp +@@ -179,8 +179,9 @@ void WlSessionLock::unlock() { + + this->surfaces.clear(); + ++ auto wasLocked = this->isLocked(); + if (this->manager) this->manager->unlock(); +- if (this->isLocked()) emit this->lockStateChanged(); ++ if (wasLocked != this->isLocked()) emit this->lockStateChanged(); + } + + void WlSessionLock::onScreensChanged() { -- cgit v1.2.3