This patch allows you to change the names of dwm's tags while it's running. By default there is a 16 byte limit on tag names, and it uses dmenu to prompt for tag names. The 6.1 patch is for the current tip (cdec9782a1789bd5c3a84772fd59abb9da288597). It works with 6.0 but you should add -D_POSIX_C_SOURCE=2 to CPPFLAGS or you will get implicit delcaration warnings for popen and pclose.

The prepend version prepends the tag name with a short string which is used as a format string for sprintf which gets the tag number as the argument. By default a tag name "foo" given to tag 5 will become tag "5:foo".