mijorus / gearlever

Manage AppImages with ease 📦
https://mijorus.it/projects/gearlever
GNU General Public License v3.0
558 stars 23 forks source link

[Feature Request] Add a Input for Command Preffixes #188

Open dCo3lh0 opened 4 days ago

dCo3lh0 commented 4 days ago

We know that lots of binaries have "--options" that must be put as suffixes after the Binary Launching argument that is the command per se like "/path/to/binary.appimage", but if we can customize prefixes as well, there is dozens of software that need prefixes, i know that with for example environmental variables in gear lever its possible already, but sometimes its not a environmental variable but a binary, binaries that call other binaries, one following the other, it would be cool. Thanks.

dCo3lh0 commented 1 day ago

want to know why prefixes are good as well, i have setup a Nvidia Prime here to offload my gpu card and i want to open a appimage using the gpu instead of the CPU, i can if i set the environments variables for each of the appimages, or i can just prime-run or in my case that i'm in tuxedo os, dgpu-run %command

or if it was a game:

dgpu-run mangohud /path/to/game.appimage