Use the Templater plugin to create repeating tasks on future (or past) daily notes

This works really well, thank you!
Is there any way to have it schedule stuff on the first monday of the month, instead of the last day of the month?

Edit to add: I was able to figure it out, you can change the “(doLastDOM)” bit to “if (dayOfMonth == 01) {”

Then it works.

Thanks to @ScottKillen