regolith-linux / ilia

A GTK-based Desktop Executor
Apache License 2.0
83 stars 11 forks source link

Using the terminal page, without launching a terminal? #70

Open warmans opened 1 year ago

warmans commented 1 year ago

Using rofi the default behavior of the rofi -show run command (which seems to be what is now ilia -p terminal) was to not launch a terminal but just execute the binary somehow. E.g. if it was a GUI application, it would just open and stdout would go who-knows-where.

Is there a way to get this same behavior with ilia? A lot of applications I use apparently don't get entries in the applications launcher and it's kind of annoying having to fix them when the "old" way worked fine.

PeterNaggschga commented 2 days ago

Since I had the same request, I addressed this issue in PR #96 by adding a -q option to the terminal page, i.e., ilia -p terminal -q executes the selected command in background, ignoring the output.

I don't know if and how fast @kgilmer approves such PRs, but if you want this option immediately, you can compile my version and add wm.program.launcher.cmd: /your/compiled/ilia -p terminal -q to your Xresources @warmans.