diff options
author | vaxerski <[email protected]> | 2022-10-26 13:19:37 +0100 |
---|---|---|
committer | vaxerski <[email protected]> | 2022-10-26 13:19:37 +0100 |
commit | 4aebb73de005e50bb08bacb0bb26ea89e0bd2818 (patch) | |
tree | b153e98d38078f4e4a1d3d0765ea053f1a92e7a7 /hyprctl | |
parent | 46e51a81c4c457078ac144c010d9d4d64d02f9df (diff) | |
download | Hyprland-4aebb73de005e50bb08bacb0bb26ea89e0bd2818.tar.gz Hyprland-4aebb73de005e50bb08bacb0bb26ea89e0bd2818.zip |
Added hyprctl cursorpos
Diffstat (limited to 'hyprctl')
-rw-r--r-- | hyprctl/main.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/hyprctl/main.cpp b/hyprctl/main.cpp index a216b1a0..bc0e8f01 100644 --- a/hyprctl/main.cpp +++ b/hyprctl/main.cpp @@ -36,6 +36,7 @@ commands: reload setcursor getoption + cursorpos flags: -j -> output in JSON @@ -278,6 +279,7 @@ int main(int argc, char** argv) { else if (fullRequest.contains("/devices")) request(fullRequest); else if (fullRequest.contains("/reload")) request(fullRequest); else if (fullRequest.contains("/getoption")) request(fullRequest); + else if (fullRequest.contains("/cursorpos")) request(fullRequest); else if (fullRequest.contains("/setcursor")) setcursorRequest(argc, argv); else if (fullRequest.contains("/dispatch")) dispatchRequest(argc, argv); else if (fullRequest.contains("/keyword")) keywordRequest(argc, argv); |