diff options
| author | vaxerski <43317083+vaxerski@users.noreply.github.com> | 2023-03-20 16:00:54 +0000 |
|---|---|---|
| committer | vaxerski <43317083+vaxerski@users.noreply.github.com> | 2023-03-20 16:00:54 +0000 |
| commit | 22721a37d5f4b9fadbc34cfe58f364e36c2c6712 (patch) | |
| tree | 8f6956a1545af674547f14eb8d91e6b83603586a /hyprctl/main.cpp | |
| parent | dd4270eadf8a62f4e8f417ff8a78f445745c6096 (diff) | |
hyprctl: add notify
Diffstat (limited to 'hyprctl/main.cpp')
| -rw-r--r-- | hyprctl/main.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/hyprctl/main.cpp b/hyprctl/main.cpp index a5bfda65..14753e71 100644 --- a/hyprctl/main.cpp +++ b/hyprctl/main.cpp @@ -42,6 +42,7 @@ commands: seterror setprop plugin + notify flags: -j -> output in JSON @@ -352,6 +353,8 @@ int main(int argc, char** argv) { request(fullRequest, 3); else if (fullRequest.contains("/plugin")) request(fullRequest, 1); + else if (fullRequest.contains("/notify")) + request(fullRequest, 2); else if (fullRequest.contains("/output")) exitStatus = outputRequest(argc, argv); else if (fullRequest.contains("/setcursor")) |
