aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMoritz Meißelbach <arbelzapf@gmail.com>2020-07-28 22:48:43 +0200
committerMoritz Meißelbach <arbelzapf@gmail.com>2020-07-28 22:48:43 +0200
commitf65115146733873fd36afd14f05ae112805c1859 (patch)
tree988a8fbef695a67e6f52aaaf78b8574bfb059d62
parent8e6fb18e97c72ef2a7bdeee509ac0c0059db4b43 (diff)
downloadsway-launcher-desktop-f65115146733873fd36afd14f05ae112805c1859.tar.gz
sway-launcher-desktop-f65115146733873fd36afd14f05ae112805c1859.zip
output stderr of generate-command to fd 3
-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}"
}