-
Notifications
You must be signed in to change notification settings - Fork 29
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Read input from pipe #64
Comments
Ok, I came up with a solution for this. @Biont it would be great if you could take a look at this There are two necessary files for this. One is
|
I like the idea and appreciate the solution. As you have found out, there is no clear way to do this directly with sway-launcher-desktop itself as it is mostly a consumer/wrapper of Anyway you found a nice workaround and can probably live with the tradeoffs involved. Great. If you are adventurous, I would not be opposed to merging a PR that introduces an optional |
I think it's better to leave it here as an extra plugin as it's something that can be achieved with the existing capabilities of |
What would be a good way to implement reading from
STDIN
and using it withsway-launcher-desktop
just likedmenu
does?I think the following two methods might work :
sway-launcher-desktop
accept an argument similar tolist-entries
likedmenu
orstdin
which makes it call a function that reads from stdinPROVIDERS_FILE
with the script that reads from stdin and present it tolist_cmd
I think the latter might be a better choice given the flexibility that provider files provide.
The text was updated successfully, but these errors were encountered: