From af72404259f7a39069d1449bedbc49b3e6ae4fbc Mon Sep 17 00:00:00 2001 From: Roberto Previdi Date: Sat, 21 Oct 2023 03:28:34 +0200 Subject: hyprctl: add a query for workspace rules (#3630) --- 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 aebc1cbb..77dd0d58 100644 --- a/hyprctl/main.cpp +++ b/hyprctl/main.cpp @@ -29,6 +29,7 @@ commands: monitors workspaces activeworkspace + workspacerules clients activewindow layers @@ -370,6 +371,8 @@ int main(int argc, char** argv) { request(fullRequest); else if (fullRequest.contains("/activeworkspace")) request(fullRequest); + else if (fullRequest.contains("/workspacerules")) + request(fullRequest); else if (fullRequest.contains("/activewindow")) request(fullRequest); else if (fullRequest.contains("/layers")) -- cgit v1.2.3