Added hyprctl reload
This commit is contained in:
parent
aa5b0d2cda
commit
39dcfa61c3
4 changed files with 14 additions and 2 deletions
|
|
@ -25,6 +25,7 @@ usage: hyprctl [command] [(opt)args]
|
|||
dispatch
|
||||
keyword
|
||||
version
|
||||
reload
|
||||
)#";
|
||||
|
||||
void request(std::string arg) {
|
||||
|
|
@ -142,6 +143,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], "reload")) request("reload");
|
||||
else if (!strcmp(argv[1], "dispatch")) dispatchRequest(argc, argv);
|
||||
else if (!strcmp(argv[1], "keyword")) keywordRequest(argc, argv);
|
||||
else if (!strcmp(argv[1], "--batch")) batchRequest(argc, argv);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue