aboutsummaryrefslogtreecommitdiff
path: root/sway/commands/bar/bindsym.c
diff options
context:
space:
mode:
Diffstat (limited to 'sway/commands/bar/bindsym.c')
-rw-r--r--sway/commands/bar/bindsym.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sway/commands/bar/bindsym.c b/sway/commands/bar/bindsym.c
index 4eea3e6a..965c8903 100644
--- a/sway/commands/bar/bindsym.c
+++ b/sway/commands/bar/bindsym.c
@@ -10,7 +10,7 @@
struct cmd_results *bar_cmd_bindsym(int argc, char **argv) {
struct cmd_results *error = NULL;
- if ((error = checkarg(argc, "bar bindsym", EXPECTED_MORE_THAN, 1))) {
+ if ((error = checkarg(argc, "bar bindsym", EXPECTED_AT_LEAST, 2))) {
return error;
}
if (!config->current_bar) {