diff options
| author | Gregor Kleen <gkleen@yggdrasil.li> | 2025-09-05 23:31:35 +0200 |
|---|---|---|
| committer | Gregor Kleen <gkleen@yggdrasil.li> | 2025-09-05 23:31:35 +0200 |
| commit | 14d4d05acc235ab7033316d16530783c90e95faa (patch) | |
| tree | 2a6e0953cd5f4e4419274178c8a44a34456ab32c /overlays | |
| parent | 02dbc3d9260fa1137e8ebc99ad439fc555d81fd2 (diff) | |
| download | nixos-14d4d05acc235ab7033316d16530783c90e95faa.tar nixos-14d4d05acc235ab7033316d16530783c90e95faa.tar.gz nixos-14d4d05acc235ab7033316d16530783c90e95faa.tar.bz2 nixos-14d4d05acc235ab7033316d16530783c90e95faa.tar.xz nixos-14d4d05acc235ab7033316d16530783c90e95faa.zip | |
...
Diffstat (limited to 'overlays')
| -rw-r--r-- | overlays/quickshell/default.nix | 8 | ||||
| -rw-r--r-- | overlays/quickshell/greetd-response.patch | 16 |
2 files changed, 24 insertions, 0 deletions
diff --git a/overlays/quickshell/default.nix b/overlays/quickshell/default.nix new file mode 100644 index 00000000..ac722010 --- /dev/null +++ b/overlays/quickshell/default.nix | |||
| @@ -0,0 +1,8 @@ | |||
| 1 | { final, prev, ... }: | ||
| 2 | { | ||
| 3 | quickshell = prev.quickshell.overrideAttrs (oldAttrs: { | ||
| 4 | patches = (oldAttrs.patches or []) ++ [ | ||
| 5 | ./greetd-response.patch | ||
| 6 | ]; | ||
| 7 | }); | ||
| 8 | } | ||
diff --git a/overlays/quickshell/greetd-response.patch b/overlays/quickshell/greetd-response.patch new file mode 100644 index 00000000..a0efb562 --- /dev/null +++ b/overlays/quickshell/greetd-response.patch | |||
| @@ -0,0 +1,16 @@ | |||
| 1 | diff --git c/src/services/greetd/connection.cpp w/src/services/greetd/connection.cpp | ||
| 2 | index bf0d1fd..a790ab7 100644 | ||
| 3 | --- c/src/services/greetd/connection.cpp | ||
| 4 | +++ w/src/services/greetd/connection.cpp | ||
| 5 | @@ -225,6 +225,11 @@ void GreetdConnection::onSocketReady() { | ||
| 6 | |||
| 7 | this->mResponseRequired = responseRequired; | ||
| 8 | emit this->authMessage(message, error, responseRequired, echoResponse); | ||
| 9 | + | ||
| 10 | + if (!responseRequired) | ||
| 11 | + this->sendRequest({ | ||
| 12 | + {"type", "post_auth_message_response"} | ||
| 13 | + }); | ||
| 14 | } else goto unexpected; | ||
| 15 | |||
| 16 | return; | ||
