Improved application launcher environ support
This commit is contained in:
@@ -18,7 +18,7 @@
|
|||||||
"name": "internet",
|
"name": "internet",
|
||||||
"exec": "firefox --new-window",
|
"exec": "firefox --new-window",
|
||||||
"environ": {
|
"environ": {
|
||||||
"MOZ_ENABLE_WAYLAND": "1"
|
"MOZ_ENABLE_WAYLAND": "0"
|
||||||
},
|
},
|
||||||
"program_name": "firefox"
|
"program_name": "firefox"
|
||||||
},
|
},
|
||||||
@@ -27,7 +27,7 @@
|
|||||||
"name": "project",
|
"name": "project",
|
||||||
"exec": "firefox --new-window",
|
"exec": "firefox --new-window",
|
||||||
"environ": {
|
"environ": {
|
||||||
"MOZ_ENABLE_WAYLAND": "1"
|
"MOZ_ENABLE_WAYLAND": "0"
|
||||||
},
|
},
|
||||||
"program_name": "firefox"
|
"program_name": "firefox"
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -40,6 +40,7 @@ echo "Launching application $program"
|
|||||||
|
|
||||||
if [[ $environ != "" ]]; then
|
if [[ $environ != "" ]]; then
|
||||||
for env in $environ; do
|
for env in $environ; do
|
||||||
|
echo "setting environment $env"
|
||||||
export $env
|
export $env
|
||||||
done
|
done
|
||||||
fi
|
fi
|
||||||
|
|||||||
Reference in New Issue
Block a user