From bb5d521a9653e252005a5f8dfd14ef232f860f38 Mon Sep 17 00:00:00 2001 From: Storm Dragon Date: Thu, 24 Nov 2022 12:20:40 -0500 Subject: [PATCH] Fix up some quoting stuff so shellcheck doesn't complain quite as much. --- i38.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/i38.sh b/i38.sh index 33f3b14..bad078d 100755 --- a/i38.sh +++ b/i38.sh @@ -342,13 +342,13 @@ bindsym f exec $fileBrowser, mode "default" # Web browser bound to w bindsym w exec $webBrowser, mode "default" $(if command -v mumble &> /dev/null ; then - echo 'bindsym m exec $(command -v mumble), mode "default"' + echo "bindsym m exec $(command -v mumble), mode \"default\"" fi) $(if command -v ocrdesktop &> /dev/null ; then - echo 'bindsym Print exec $(command -v ocrdesktop), mode "default"' + echo "bindsym Print exec $(command -v ocrdesktop), mode \"default\"" fi) $(if command -v pidgin &> /dev/null ; then - echo 'bindsym p exec $(command -v pidgin), mode "default"' + echo "bindsym p exec $(command -v pidgin), mode \"default\"" fi) $(if command -v transfersh &> /dev/null ; then echo 'bindsym t exec bash -c '"'"'fileName="$(yad --title "I38 Upload File" --file)" && url="$(transfersh "${fileName}" | tee >(yad --title "I38 - Uploading ${fileName##*/} ..." --progress --pulsate --auto-close))" && echo "${url#*saved at: }" | tee >(yad --title "I38 - Upload URL" --show-cursor --show-uri --button yad-close --sticky --text-info) >(xclip -selection clipboard)'"', mode \"default\""