diff options
| author | Moritz Meißelbach <arbelzapf@gmail.com> | 2020-07-28 22:48:43 +0200 |
|---|---|---|
| committer | Moritz Meißelbach <arbelzapf@gmail.com> | 2020-07-28 22:48:43 +0200 |
| commit | f65115146733873fd36afd14f05ae112805c1859 (patch) | |
| tree | 988a8fbef695a67e6f52aaaf78b8574bfb059d62 | |
| parent | 8e6fb18e97c72ef2a7bdeee509ac0c0059db4b43 (diff) | |
| download | sway-launcher-desktop-f65115146733873fd36afd14f05ae112805c1859.tar.gz sway-launcher-desktop-f65115146733873fd36afd14f05ae112805c1859.zip | |
output stderr of generate-command to fd 3
| -rwxr-xr-x | sway-launcher-desktop.sh | 2 |
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}" } |
