open visual-studio-code at a specific folder from dmenu in i3


I'm on i3

I'd like to use dmenu to open vscode at a specific folder. eg: i'm working in the location ~/Code/python/myapp then I'd like to open code from dmenu at the myapp location.

is that possible using dmenu?

simply opening dmenu and typing code ~/Code/python/myapp does not do this.

thanks for your help.

Forum kindly sponsored by