Fixed a bug causing control+space to not work as an rp mode binding. Added f1 in rp mode to open the first run I38 help page.

This commit is contained in:
Storm Dragon
2025-12-01 17:10:12 -05:00
parent 0e9bc8ae09
commit 9999306675

4
i38.sh
View File

@@ -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