How to run pipe-viewer via dmenu 19 March 2021, 00:48:33 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.
Re: How to run pipe-viewer via dmenu Reply #1 – 20 March 2021, 22:46:20 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.