Do not bind f to file browser in Ratpoison Mode if no file browser was found.

This commit is contained in:
Storm Dragon 2023-09-28 09:45:10 -04:00
parent 43bec02a2c
commit 9c3cadd7dc

6
i38.sh
View File

@ -529,8 +529,10 @@ bindsym Shift+slash exec ${i3Path}/scripts/i38-help.sh, mode "default"
bindsym c exec $sensibleTerminal, mode "default" bindsym c exec $sensibleTerminal, mode "default"
# Text editor bound to e # Text editor bound to e
bindsym e exec $textEditor, mode "default" bindsym e exec $textEditor, mode "default"
# File browser bound to f $(if [[ ${#fileBrowser} -gt 3 ]]; then
bindsym f exec $fileBrowser, mode "default" echo "# File browser bound to f"
echo "bindsym f exec $fileBrowser, mode \"default\""
fi)
# Email client bound to \$mod+e # Email client bound to \$mod+e
bindsym \$mod+e exec $emailClient, mode "default" bindsym \$mod+e exec $emailClient, mode "default"
# Web browser bound to w # Web browser bound to w