summaryrefslogtreecommitdiff
path: root/hyprctl/main.cpp
diff options
context:
space:
mode:
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 deb8613c..74127d5b 100644
--- a/hyprctl/main.cpp
+++ b/hyprctl/main.cpp
@@ -52,6 +52,7 @@ commands:
notify
globalshortcuts
instances
+ layouts
flags:
-j -> output in JSON
@@ -420,6 +421,8 @@ int main(int argc, char** argv) {
request(fullRequest, 2);
else if (fullRequest.contains("/hyprpaper"))
requestHyprpaper(fullRequest);
+ else if (fullRequest.contains("/layouts"))
+ request(fullRequest);
else if (fullRequest.contains("/--help"))
printf("%s", USAGE.c_str());
else {