diff --git a/i38.sh b/i38.sh index a7bf1a0..7da7c1f 100755 --- a/i38.sh +++ b/i38.sh @@ -384,21 +384,23 @@ bindsym e exec $textEditor, mode "default" bindsym f exec $fileBrowser, mode "default" # Web browser bound to w bindsym w exec $webBrowser, mode "default" +# Kill window bound to k +bindsym k kill $(if command -v mumble &> /dev/null ; then - # Mumble bound to m + echo "# Mumble bound to m" echo "bindsym m exec $(command -v mumble), mode \"default\"" fi) $(if command -v ocrdesktop &> /dev/null ; then - # OCR desktop bound to print screen alternative \$mod+r + echo "# OCR desktop bound to print screen alternative \$mod+r" echo "bindsym Print exec $(command -v ocrdesktop) -b, mode \"default\"" echo "bindsym \$mod+r exec $(command -v ocrdesktop) -b, mode \"default\"" fi) $(if command -v pidgin &> /dev/null ; then - # p bound to pidgin + echo "# p bound to pidgin" echo "bindsym p exec $(command -v pidgin), mode \"default\"" fi) $(if command -v transfersh &> /dev/null ; then - # t bound to share file with transfer.sh + echo "# t bound to share file with transfer.sh" 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\"" fi)