Biont / sway-launcher-desktop

TUI Application launcher with Desktop Entry support. Made for SwayWM, but runs anywhere
GNU General Public License v3.0
606 stars 28 forks source link

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

Open boscovn opened 1 year ago

boscovn commented 1 year ago

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