btw i use nix
1--- a/sway/config.c
2+++ b/sway/config.c
3@@ -276,7 +276,7 @@
4
5 if (!(config->active_bar_modifiers = create_list())) goto cleanup;
6
7- if (!(config->swaybg_command = strdup("swaybg"))) goto cleanup;
8+ if (!(config->swaybg_command = strdup("@swaybg@/bin/swaybg"))) goto cleanup;
9
10 if (!(config->config_chain = create_list())) goto cleanup;
11 config->current_config_path = NULL;