Biont / sway-launcher-desktop

TUI Application launcher with Desktop Entry support. Made for SwayWM, but runs anywhere
GNU General Public License v3.0
606 stars 28 forks source link

Make `list_cmd` able to operate on null-terminated strings #37

Open davla opened 3 years ago

davla commented 3 years ago

First of all, compliments for this project. I really like how it makes me able to launch both executables and XDG desktop entries with one shortcut, without needing to remember which one of the two I'm filtering :grin:

In fact, I like it so much, that I also use it to display the clipboard history with clipman. And here comes the request. Clipboard history entries contain newlines quite often, and this makes it impossible to use them as items in the first column in list_cmd. Many other unix tools (find, xargs, awk and even clipman itself) can work with null-terminated strings rather than lines, which would make it quite convenient if list_cmd would too.

Biont commented 3 years ago

Hi! I'm glad you like the project so much. Could you post the custom provider (assuming that's how you're implementing clipman) here so I can reproduce it easily?

davla commented 3 years ago

Of course :smile: