diff --git a/i38.sh b/i38.sh index 1eac8fb..bc04d01 100755 --- a/i38.sh +++ b/i38.sh @@ -438,7 +438,7 @@ done export i3Mode=0 # Prevent setting ratpoison mode key to the same as default mode key while [[ "$escapeKey" == "$mod" ]]; do - escapeKey="$(menulist "Ratpoison mode key:" Control+t Control+z Control+Escape Alt+Escape Control+Space Super)" + escapeKey="$(menulist "Ratpoison mode key:" Control+t Control+z Control+Escape Alt+Escape Control+space Super)" escapeKey="${escapeKey//Alt/Mod1}" escapeKey="${escapeKey//Super/Mod4}" mod="$(menulist "I3 mod key, for top level bindings:" Alt Super)" @@ -780,6 +780,8 @@ bindsym $escapeKey mode "ratpoison" mode "ratpoison" { # I38 help bound to ? bindsym Shift+slash exec ${i3Path}/scripts/i38-help.sh, mode "default" +# I38 HTML documentation bound to F1 +bindsym F1 exec $webBrowser ${i3Path}/I38.html, mode "default" # Terminal emulator bound to c bindsym c exec $sensibleTerminal, mode "default" # Text editor bound to e