-
Notifications
You must be signed in to change notification settings - Fork 629
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
[REQUEST] pass environment variables to drun-ed apps #2059
Comments
I am very confused, rofi passes all environment to the program it launches.. I've validated this using a desktop file that does: [Desktop Entry]
Encoding=UTF-8
Version=1.0
Type=Application
Terminal=false
Exec=env
Name=Env test
Icon=Env test and launching rofi from the terminal with a set of environment variables and checking if those are printed out. |
Sorry for the confusion. I meant *additional* env. vars. Equivalent to the
shell command:
env VAR1=val1 VAR2=val2 cmd args.
|
I don't understand what you want. This works fine: MONK=a rofi -show drun | grep -i MONK
MONK=a |
You claim most launchers can do this? can you show a screenshot of how you do it? that might clear things up? |
There is nothing in the free desktop standard about this. |
On Sat, Dec 21, 2024 at 4:53 AM Dave Davenport wrote:
You claim most launchers can do this? can you show a screenshot of how you
do it? that might clear things up?
Sorry, I didn't claim **most** DEs but some DEs do this. E.g.
https://wiki.hyprland.org/Configuring/Environment-variables/ .
My core idea was quite simple: as an app launches other apps then it should
allow customizing that action. E.g. allowing to change cmd args (that's
what `rofi run` does) and environment.
BTW I ended up running some apps with `rofi run` for my purposes.
Thanks again for this great applaucher! and cudos to @lbonn for the Wayland
support patch!
|
Ok, this feels dishonest:
While I said.
and you said in the opening post:
|
I do not want to continue with this anymore. |
Before opening a feature request
What is the user problem or growth opportunity you want to see solved?
as rofi is an application launcher it must have ability to pass environment variables to drun-ed apps. This is natural
How do you know that this problem exists today? Why is this important?
this is a useful feature that's why many/most application launchers can do it. E.g. shells and (some) DEs.
Who will benefit from it?
advanced users
Rofi version (rofi -v)
1.7.2
Configuration
N/A
Additional information
No response
The text was updated successfully, but these errors were encountered: