summaryrefslogtreecommitdiff
path: root/hyprctl/main.cpp
diff options
context:
space:
mode:
authorRoberto Previdi <hariseldon78@gmail.com>2023-10-21 03:28:34 +0200
committerGitHub <noreply@github.com>2023-10-21 02:28:34 +0100
commitaf72404259f7a39069d1449bedbc49b3e6ae4fbc (patch)
treede30dfebd15070d65ca2b9b470bda5d228f67cfc /hyprctl/main.cpp
parent4a79718fe8e4601983797d254cce39960827cb02 (diff)
hyprctl: add a query for workspace rules (#3630)
Diffstat (limited to 'hyprctl/main.cpp')
-rw-r--r--hyprctl/main.cpp3
1 files changed, 3 insertions, 0 deletions
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"))