From 22721a37d5f4b9fadbc34cfe58f364e36c2c6712 Mon Sep 17 00:00:00 2001 From: vaxerski <43317083+vaxerski@users.noreply.github.com> Date: Mon, 20 Mar 2023 16:00:54 +0000 Subject: hyprctl: add notify --- hyprctl/main.cpp | 3 +++ 1 file changed, 3 insertions(+) (limited to 'hyprctl/main.cpp') 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")) -- cgit v1.2.3