diff options
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; | ||