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
1 changed files with 4 additions and 2 deletions

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"
# Text editor bound to e
bindsym e exec $textEditor, mode "default"
# File browser bound to f
bindsym f exec $fileBrowser, mode "default"
$(if [[ ${#fileBrowser} -gt 3 ]]; then
echo "# File browser bound to f"
echo "bindsym f exec $fileBrowser, mode \"default\""
fi)
# Email client bound to \$mod+e
bindsym \$mod+e exec $emailClient, mode "default"
# Web browser bound to w