You are not logged in.

#1 2021-03-19 20:50:39

Wim
Member
Registered: 2021-03-12
Posts: 5

[SOLVED] Run application using prime-run though dmenu

I'm trying to pipe the command I selected in dmenu to prime-run using this:

 dmenu_path | dmenu "$@" | prime-run 

but it isn't working, instead it seems to run prime-run on its own without any input, does prime run not support piping? I'm still new to this so can anybody help me find a solution?

Last edited by Wim (2021-03-19 22:39:40)

Offline

#2 2021-03-19 21:06:12

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 77,550

Re: [SOLVED] Run application using prime-run though dmenu

dmenu_path | dmenu "$@" | xargs prime-run
prime-run $(dmenu_path | dmenu "$@")

Offline

#3 2021-03-19 22:01:20

Wim
Member
Registered: 2021-03-12
Posts: 5

Re: [SOLVED] Run application using prime-run though dmenu

Thanks for the help they both work

Offline

#4 2021-03-19 22:07:03

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 77,550

Re: [SOLVED] Run application using prime-run though dmenu

Of course they do ;-)

Please always remember to mark resolved threads by editing your initial posts subject - so others will know that there's no task left, but maybe a solution to find.
Thanks.

Offline

Board footer

Powered by FluxBB