From 445f8c71c50ed9cdd72299b2ddf696b7baeb1b03 Mon Sep 17 00:00:00 2001 From: ozwaldorf Date: Wed, 1 Feb 2023 05:01:56 -0500 Subject: fix(hyprctl): allow dispatcher to have no args (#1464) * fix(hyprctl): allow dispatch to have no args * chore: add .idea/ to gitignore --- hyprctl/main.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'hyprctl/main.cpp') 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; -- cgit v1.2.3