Skip to content
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

Applications executed from sway-launcher-desktop don't read my environment variables #71

Open
boscovn opened this issue Jan 9, 2023 · 2 comments

Comments

@boscovn
Copy link

boscovn commented Jan 9, 2023

I've noticed that when I launch an application from sway-launcher-desktop some stuff that depends on my environment variables don't work on an application's runtime even though they should, and when launching straight away from the terminal they do work.
I'm using zsh and the sway-launcher-desktop script uses bash, so I presume it might have something to do with it.
For reference, this is how I launch sway-launcher-desktop:

set $menu exec $term -app_id=launcher -e env TERMINAL=foot sway-launcher-desktop
@blankoworld
Copy link

@boscovn : which term did you use?

I have zsh too.
I use kitty as "$term". Sometimes alacritty (as term).
They both have the -e parameter.

Your term have probably another param to launch command?

@boscovn
Copy link
Author

boscovn commented Jan 15, 2025

Hey! Couldn't say, sorry. It's been a while and I use a different launcher. Don't think I have the config at hand anymore :S

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants