Closed smhmd closed 4 years ago
Problem I'm trying to make a dmenu script (I can make a script out of the current implementation, but not comfy one-liners).
dmenu
Being able to type the bang with the search is better than going through two menus, IMO.
Proposal
$ echo b search term | bang - # translates to bang b search term
Totally doable, basically if fs.Arg(0) is a hyphen, it'd use os.Stdin in place of fs.Args(). I should be able to add this within the day or so. Thanks for the suggestion!
fs.Arg(0)
os.Stdin
fs.Args()
Problem I'm trying to make a
dmenu
script (I can make a script out of the current implementation, but not comfy one-liners).Being able to type the bang with the search is better than going through two menus, IMO.
Proposal