From 046ad79d11dbccc90ade48d63aaa340655d999fb Mon Sep 17 00:00:00 2001 From: Vaxry <43317083+vaxerski@users.noreply.github.com> Date: Sun, 9 Apr 2023 13:48:20 +0100 Subject: GlobalShortcuts protocol impl (#1886) Implements the `hyprland-global-shortcuts-v1` protocol --------- Co-authored-by: Mihai Fufezan --- 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 14753e71..7c939a4c 100644 --- a/hyprctl/main.cpp +++ b/hyprctl/main.cpp @@ -43,6 +43,7 @@ commands: setprop plugin notify + globalshortcuts flags: -j -> output in JSON @@ -345,6 +346,8 @@ int main(int argc, char** argv) { request(fullRequest); else if (fullRequest.contains("/animations")) request(fullRequest); + else if (fullRequest.contains("/globalshortcuts")) + request(fullRequest); else if (fullRequest.contains("/switchxkblayout")) request(fullRequest, 2); else if (fullRequest.contains("/seterror")) -- cgit v1.2.3