Improved application launcher environ support

This commit is contained in:
Ezri 2024-03-27 11:22:41 -06:00
parent f0de9b9111
commit 4caaf6d872
Signed by: ezri
GPG Key ID: 058A78E5680C6F24
2 changed files with 3 additions and 2 deletions

View File

@ -18,7 +18,7 @@
"name": "internet",
"exec": "firefox --new-window",
"environ": {
"MOZ_ENABLE_WAYLAND": "1"
"MOZ_ENABLE_WAYLAND": "0"
},
"program_name": "firefox"
},
@ -27,7 +27,7 @@
"name": "project",
"exec": "firefox --new-window",
"environ": {
"MOZ_ENABLE_WAYLAND": "1"
"MOZ_ENABLE_WAYLAND": "0"
},
"program_name": "firefox"
},

View File

@ -40,6 +40,7 @@ echo "Launching application $program"
if [[ $environ != "" ]]; then
for env in $environ; do
echo "setting environment $env"
export $env
done
fi