Skip to main content
Topic: How to run pipe-viewer via dmenu (Read 609 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

How to run pipe-viewer via dmenu

I've been trying to create a script to run pipe-viewer, the youtube-viewer fork, via dmenu.

I have zero clue how to get the output from my search query, and I can't find any cheeky work-arounds.

If anyone has any idea, would be much appreciated.
exotic

Re: How to run pipe-viewer via dmenu

Reply #1
I'm not familiar with pipe-viewer, but dmenu is a simple program that treats its stdin as a list of lines which it presents in the form of a menu. When you select a line (or type one not in the list), it outputs it to stdout. It doesn't do anything more nor less than that. This can then be manipulated by redirection through the shell pipe operator.