From 530c9e5073a0fd60b637824da820fac0a5baf487 Mon Sep 17 00:00:00 2001 From: stormdragon2976 Date: Tue, 28 Mar 2023 18:43:13 -0400 Subject: [PATCH] Kill window shortcut added to ratpoison mode as k. Comments should show up now that did not before in the config file. --- i38.sh | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) 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)