diff --git a/sway/commands/swaynag_command.c b/sway/commands/swaynag_command.c index 6c86f1a76..5e54504c1 100644 --- a/sway/commands/swaynag_command.c +++ b/sway/commands/swaynag_command.c @@ -14,7 +14,7 @@ struct cmd_results *cmd_swaynag_command(int argc, char **argv) { char *new_command = join_args(argv, argc); if (strcmp(new_command, "-") != 0) { - config->swaybg_command = new_command; + config->swaynag_command = new_command; wlr_log(WLR_DEBUG, "Using custom swaynag command: %s", config->swaynag_command); } else {