aboutsummaryrefslogtreecommitdiffhomepage
path: root/hyprctl
diff options
context:
space:
mode:
authorvaxerski <[email protected]>2022-06-02 13:59:33 +0200
committervaxerski <[email protected]>2022-06-02 13:59:33 +0200
commit7afcf656bd25e2ed6b33bae1cbbc4a62d66e1938 (patch)
treefdc2fadd0713b6b4ef63d8134817dfad326d83cd /hyprctl
parent9acf15efd7268406bffdf9141b31851a06007e24 (diff)
downloadHyprland-7afcf656bd25e2ed6b33bae1cbbc4a62d66e1938.tar.gz
Hyprland-7afcf656bd25e2ed6b33bae1cbbc4a62d66e1938.zip
Added hyprctl devices
Diffstat (limited to 'hyprctl')
-rw-r--r--hyprctl/main.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/hyprctl/main.cpp b/hyprctl/main.cpp
index 5b932441..60ee9606 100644
--- a/hyprctl/main.cpp
+++ b/hyprctl/main.cpp
@@ -23,6 +23,7 @@ usage: hyprctl [command] [(opt)args]
clients
activewindow
layers
+ devices
dispatch
keyword
version
@@ -117,6 +118,7 @@ int main(int argc, char** argv) {
else if (!strcmp(argv[1], "activewindow")) request("activewindow");
else if (!strcmp(argv[1], "layers")) request("layers");
else if (!strcmp(argv[1], "version")) request("version");
+ else if (!strcmp(argv[1], "devices")) request("devices");
else if (!strcmp(argv[1], "reload")) request("reload");
else if (!strcmp(argv[1], "dispatch")) dispatchRequest(argc, argv);
else if (!strcmp(argv[1], "keyword")) keywordRequest(argc, argv);