Hi! Here is a dmenu patch that adds a -t option to specify some text that initially goes in the input part. I just parachuted in and wrote this when the idea popped in my head. It might be useful for surf url stuff or something.
argtext.diff
Description: Binary data