Use fcitx5 for input methods
This commit is contained in:
parent
2dc8fc2ca9
commit
f5ff9e854f
5 changed files with 110 additions and 9 deletions
66
.config/fcitx5/config
Normal file
66
.config/fcitx5/config
Normal file
|
|
@ -0,0 +1,66 @@
|
|||
[Hotkey]
|
||||
# Trigger Input Method
|
||||
TriggerKeys=
|
||||
# Enumerate when press trigger key repeatedly
|
||||
EnumerateWithTriggerKeys=True
|
||||
# Enumerate Input Method Forward
|
||||
EnumerateForwardKeys=
|
||||
# Enumerate Input Method Backward
|
||||
EnumerateBackwardKeys=
|
||||
# Skip first input method while enumerating
|
||||
EnumerateSkipFirst=False
|
||||
# Enumerate Input Method Group Forward
|
||||
EnumerateGroupForwardKeys=
|
||||
# Enumerate Input Method Group Backward
|
||||
EnumerateGroupBackwardKeys=
|
||||
# Activate Input Method
|
||||
ActivateKeys=
|
||||
# Deactivate Input Method
|
||||
DeactivateKeys=
|
||||
|
||||
[Hotkey/AltTriggerKeys]
|
||||
0=Shift_L
|
||||
|
||||
[Hotkey/PrevPage]
|
||||
0=Up
|
||||
|
||||
[Hotkey/NextPage]
|
||||
0=Down
|
||||
|
||||
[Hotkey/PrevCandidate]
|
||||
0=Shift+Tab
|
||||
|
||||
[Hotkey/NextCandidate]
|
||||
0=Tab
|
||||
|
||||
[Hotkey/TogglePreedit]
|
||||
0=Control+Alt+P
|
||||
|
||||
[Behavior]
|
||||
# Active By Default
|
||||
ActiveByDefault=False
|
||||
# Share Input State
|
||||
ShareInputState=All
|
||||
# Show preedit in application
|
||||
PreeditEnabledByDefault=True
|
||||
# Show Input Method Information when switch input method
|
||||
ShowInputMethodInformation=True
|
||||
# Show Input Method Information when changing focus
|
||||
showInputMethodInformationWhenFocusIn=False
|
||||
# Show compact input method information
|
||||
CompactInputMethodInformation=True
|
||||
# Show first input method information
|
||||
ShowFirstInputMethodInformation=True
|
||||
# Default page size
|
||||
DefaultPageSize=5
|
||||
# Override Xkb Option
|
||||
OverrideXkbOption=False
|
||||
# Custom Xkb Option
|
||||
CustomXkbOption=
|
||||
# Force Enabled Addons
|
||||
EnabledAddons=
|
||||
# Force Disabled Addons
|
||||
DisabledAddons=
|
||||
# Preload input method to be used by default
|
||||
PreloadInputMethod=True
|
||||
|
||||
35
.config/fcitx5/profile
Normal file
35
.config/fcitx5/profile
Normal file
|
|
@ -0,0 +1,35 @@
|
|||
[Groups/0]
|
||||
# Group Name
|
||||
Name=Default
|
||||
# Layout
|
||||
Default Layout=us
|
||||
# Default Input Method
|
||||
DefaultIM=keyboard-il
|
||||
|
||||
[Groups/0/Items/0]
|
||||
# Name
|
||||
Name=keyboard-us
|
||||
# Layout
|
||||
Layout=
|
||||
|
||||
[Groups/0/Items/1]
|
||||
# Name
|
||||
Name=keyboard-il
|
||||
# Layout
|
||||
Layout=
|
||||
|
||||
[Groups/0/Items/2]
|
||||
# Name
|
||||
Name=mozc
|
||||
# Layout
|
||||
Layout=
|
||||
|
||||
[Groups/0/Items/3]
|
||||
# Name
|
||||
Name=keyboard-fr
|
||||
# Layout
|
||||
Layout=
|
||||
|
||||
[GroupOrder]
|
||||
0=Default
|
||||
|
||||
|
|
@ -6,9 +6,9 @@ direnv \
|
|||
docker.io \
|
||||
emacs-mozc \
|
||||
exa \
|
||||
fcitx5-mozc \
|
||||
gnumeric \
|
||||
htop \
|
||||
ibus-mozc \
|
||||
jupyter \
|
||||
keepassxc \
|
||||
mpv \
|
||||
|
|
|
|||
|
|
@ -219,12 +219,12 @@ bindsym $wm_mod+Equal mode "resize"
|
|||
# Setup input method
|
||||
#
|
||||
|
||||
exec ibus-daemon --daemonize --replace --xim
|
||||
exec fcitx5-remote -r
|
||||
|
||||
bindsym Mod4+1 exec ibus engine xkb:us::eng
|
||||
bindsym Mod4+2 exec ibus engine xkb:il::heb
|
||||
bindsym Mod4+3 exec ibus engine mozc-jp
|
||||
bindsym Mod4+4 exec ibus engine xkb:fr::fra
|
||||
bindsym Mod4+1 exec fcitx5-remote -s keyboard-us
|
||||
bindsym Mod4+2 exec fcitx5-remote -s keyboard-il
|
||||
bindsym Mod4+3 exec fcitx5-remote -s mozc
|
||||
bindsym Mod4+4 exec fcitx5-remote -s keyboard-fr
|
||||
|
||||
#
|
||||
# Hook up multimedia keys
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue