summaryrefslogtreecommitdiff
path: root/hyprctl/main.cpp
diff options
context:
space:
mode:
authorvaxerski <43317083+vaxerski@users.noreply.github.com>2022-03-22 16:54:45 +0100
committervaxerski <43317083+vaxerski@users.noreply.github.com>2022-03-22 16:54:45 +0100
commit8a8b26a6357528a736c4a28ff70aff6b3d397190 (patch)
tree31485c1cd2916d2c0f01488ad01152efa5ba35da /hyprctl/main.cpp
parent7b612b46b8541ffb20757749ac7b37cf76dcf755 (diff)
added 2 more hyprctl commands
Diffstat (limited to 'hyprctl/main.cpp')
-rw-r--r--hyprctl/main.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/hyprctl/main.cpp b/hyprctl/main.cpp
index 047b409f..ee744f46 100644
--- a/hyprctl/main.cpp
+++ b/hyprctl/main.cpp
@@ -105,6 +105,8 @@ int main(int argc, char** argv) {
if (!strcmp(argv[1], "monitors")) request("monitors");
else if (!strcmp(argv[1], "clients")) request("clients");
else if (!strcmp(argv[1], "workspaces")) request("workspaces");
+ else if (!strcmp(argv[1], "activewindow")) request("activewindow");
+ else if (!strcmp(argv[1], "layers")) request("layers");
else {
printf(USAGE.c_str());
return 1;