diff options
| author | Moritz Meißelbach <arbelzapf@gmail.com> | 2020-07-28 22:06:47 +0200 |
|---|---|---|
| committer | Moritz Meißelbach <arbelzapf@gmail.com> | 2020-07-28 22:06:47 +0200 |
| commit | 8e6fb18e97c72ef2a7bdeee509ac0c0059db4b43 (patch) | |
| tree | 1d8372db385907fc705e0f589ea7b69d433df7e7 | |
| parent | 11076869a8e5a8d3331a9cc0de13391709b7bbb7 (diff) | |
| download | sway-launcher-desktop-8e6fb18e97c72ef2a7bdeee509ac0c0059db4b43.tar.gz sway-launcher-desktop-8e6fb18e97c72ef2a7bdeee509ac0c0059db4b43.zip | |
add a comment documenting the previous change
| -rwxr-xr-x | sway-launcher-desktop.sh | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sway-launcher-desktop.sh b/sway-launcher-desktop.sh index dca6100..ac1eab5 100755 --- a/sway-launcher-desktop.sh +++ b/sway-launcher-desktop.sh @@ -5,7 +5,7 @@ shopt -s nullglob globstar set -o pipefail if ! { exec 0>&3; } 1>/dev/null 2>&1; then - exec 3>/dev/null + exec 3>/dev/null # If file descriptor 3 is unused in parent shell, output to /dev/null fi # shellcheck disable=SC2154 trap 's=$?; echo "$0: Error on line "$LINENO": $BASH_COMMAND"; exit $s' ERR @@ -46,8 +46,8 @@ if [ -f "${PROVIDERS_FILE}" ]; then }' "${PROVIDERS_FILE}")" HIST_FILE="${XDG_CACHE_HOME:-$HOME/.cache}/${0##*/}-${PROVIDERS_FILE##*/}-history.txt" else - PROVIDERS['desktop']="${0} list-entries${DEL}${0} describe-desktop \"{1}\"${DEL}${0} run-desktop '{1}' {2}" - PROVIDERS['command']="${0} list-commands${DEL}${0} describe-command \"{1}\"${DEL}${TERMINAL_COMMAND} {1}" + PROVIDERS['desktop']="${0} list-entries${DEL}${0} describe-desktop '{1}'${DEL}${0} run-desktop '{1}' {2}" + PROVIDERS['command']="${0} list-commands${DEL}${0} describe-command {1}${DEL}${TERMINAL_COMMAND} {1}" HIST_FILE="${XDG_CACHE_HOME:-$HOME/.cache}/${0##*/}-history.txt" fi |
