aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xsway-launcher-desktop.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/sway-launcher-desktop.sh b/sway-launcher-desktop.sh
index ac1eab5..fba27e6 100755
--- a/sway-launcher-desktop.sh
+++ b/sway-launcher-desktop.sh
@@ -141,7 +141,7 @@ function entries() {
# the empty stdin is needed in case no *.desktop files
}
function run-desktop() {
- CMD="$("${0}" generate-command "$@")"
+ CMD="$("${0}" generate-command "$@" 2>&3)"
echo "Generated Launch command from .desktop file: ${CMD}" >&3
bash -c "${CMD}"
}