j4-dmenu-desktop icon indicating copy to clipboard operation
j4-dmenu-desktop copied to clipboard

Added --run-command option, obsoletes --wrapper

Open Hritik14 opened this issue 4 years ago • 5 comments

Wrapper was an idea exclusively useful for running the binary via i3-exec.
While that is of utmost importance, the current --run-command feature subsets wrapper and a lot more.

The current syntax is

           --run-command "/usr/bin/anybinary {}"

The --wrapper could be replaced with a similar structure

           --run-command "wrapper_binary '{}'"`

I strongly advocate for --run-command and obsolete --wrapper as it is way more awesome and flexible. The idea was directly inspired by rofi's -run-command

Hritik14 avatar Oct 11 '20 10:10 Hritik14

--wrapper is still present for backwards compatibility, though I intend to either

  1. completely remove --wrapper cmd
  2. make it an alias to --run-command "cmd ''"

Hritik14 avatar Oct 11 '20 11:10 Hritik14

Hi @enkore, is there any update on the PR ?

Hritik14 avatar Jan 17 '21 10:01 Hritik14