Improved application launcher environ support
This commit is contained in:
parent
f0de9b9111
commit
4caaf6d872
@ -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"
|
||||
},
|
||||
|
||||
@ -40,6 +40,7 @@ echo "Launching application $program"
|
||||
|
||||
if [[ $environ != "" ]]; then
|
||||
for env in $environ; do
|
||||
echo "setting environment $env"
|
||||
export $env
|
||||
done
|
||||
fi
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user