diff --git a/.gitignore b/.gitignore index 246557ae..95a1b6f0 100644 --- a/.gitignore +++ b/.gitignore @@ -12,6 +12,7 @@ _deps build/ result* /.vscode/ +/.idea/ .envrc .cache diff --git a/hyprctl/main.cpp b/hyprctl/main.cpp index fd2a5b08..81343526 100644 --- a/hyprctl/main.cpp +++ b/hyprctl/main.cpp @@ -170,7 +170,7 @@ void requestHyprpaper(std::string arg) { int dispatchRequest(int argc, char** argv) { - if (argc < 4) { + if (argc < 3) { std::cout << "Usage: hyprctl dispatch \n\ Execute a hyprland keybind dispatcher with the given argument"; return 1;