aboutsummaryrefslogtreecommitdiff
path: root/sway/commands/swaynag_command.c
diff options
context:
space:
mode:
authorBrian Ashworth <bosrsf04@gmail.com>2018-10-22 21:19:22 -0400
committerBrian Ashworth <bosrsf04@gmail.com>2018-10-22 21:19:22 -0400
commit6a9930f451063535aee4ffa060cb5cb7b250848d (patch)
tree8d6c3984f3206187c036047dd79c59e3ba62972a /sway/commands/swaynag_command.c
parent5c6240a906df91625dc0ea2c0a7a258ca0fd2487 (diff)
cmd_swaynag_command: fix typo in variable
The custom swaynag_command was being stored as config->swaybg_command instead of config->swaynag_command.
Diffstat (limited to 'sway/commands/swaynag_command.c')
-rw-r--r--sway/commands/swaynag_command.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sway/commands/swaynag_command.c b/sway/commands/swaynag_command.c
index 6c86f1a7..5e54504c 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 {