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:
4
i38.sh
4
i38.sh
@@ -438,7 +438,7 @@ done
|
|||||||
export i3Mode=0
|
export i3Mode=0
|
||||||
# Prevent setting ratpoison mode key to the same as default mode key
|
# Prevent setting ratpoison mode key to the same as default mode key
|
||||||
while [[ "$escapeKey" == "$mod" ]]; do
|
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//Alt/Mod1}"
|
||||||
escapeKey="${escapeKey//Super/Mod4}"
|
escapeKey="${escapeKey//Super/Mod4}"
|
||||||
mod="$(menulist "I3 mod key, for top level bindings:" Alt Super)"
|
mod="$(menulist "I3 mod key, for top level bindings:" Alt Super)"
|
||||||
@@ -780,6 +780,8 @@ bindsym $escapeKey mode "ratpoison"
|
|||||||
mode "ratpoison" {
|
mode "ratpoison" {
|
||||||
# I38 help bound to ?
|
# I38 help bound to ?
|
||||||
bindsym Shift+slash exec ${i3Path}/scripts/i38-help.sh, mode "default"
|
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
|
# Terminal emulator bound to c
|
||||||
bindsym c exec $sensibleTerminal, mode "default"
|
bindsym c exec $sensibleTerminal, mode "default"
|
||||||
# Text editor bound to e
|
# Text editor bound to e
|
||||||
|
|||||||
Reference in New Issue
Block a user