The custom swaynag_command was being stored as config->swaybg_command instead of config->swaynag_command.