commit cf1bc544dc196021b0f3812784bac61301c3d7bb
parent a03fa7cc389eced50525116a48fbc2b15a3a70e4
Author: dwrz <dwrz@dwrz.net>
Date: Tue, 6 Dec 2022 01:38:33 +0000
Add fcitx5 config
Diffstat:
7 files changed, 285 insertions(+), 0 deletions(-)
diff --git a/fcitx5/conf/classicui.conf b/fcitx5/conf/classicui.conf
@@ -0,0 +1,27 @@
+# Vertical Candidate List
+Vertical Candidate List=False
+# Use Per Screen DPI
+PerScreenDPI=True
+# Use mouse wheel to go to prev or next page
+WheelForPaging=True
+# Font
+Font="DejaVu Sans Mono 12"
+# Menu Font
+MenuFont="DejaVu Sans 12"
+# Tray Font
+TrayFont="DejaVu Sans Mono 12"
+# Tray Label Outline Color
+TrayOutlineColor=#000000
+# Tray Label Text Color
+TrayTextColor=#ffffff
+# Prefer Text Icon
+PreferTextIcon=False
+# Show Layout Name In Icon
+ShowLayoutNameInIcon=True
+# Use input method language to display text
+UseInputMethodLangaugeToDisplayText=True
+# Theme
+Theme=default
+# Force font DPI on Wayland
+ForceWaylandDPI=0
+
diff --git a/fcitx5/conf/keyboard.conf b/fcitx5/conf/keyboard.conf
@@ -0,0 +1,30 @@
+# Page size
+PageSize=5
+# Enable emoji in hint
+EnableEmoji=True
+# Enable emoji in quickphrase
+EnableQuickPhraseEmoji=True
+# Choose key modifier
+Choose Modifier=Alt
+# Enable hint by default
+EnableHintByDefault=False
+# Use new compose behavior
+UseNewComposeBehavior=True
+# Type special characters with long press
+EnableLongPress=False
+
+[PrevCandidate]
+0=Shift+Tab
+
+[NextCandidate]
+0=Tab
+
+[Hint Trigger]
+0=Control+Alt+H
+
+[One Time Hint Trigger]
+0=Control+Alt+J
+
+[LongPressBlocklist]
+0=konsole
+
diff --git a/fcitx5/conf/pinyin.conf b/fcitx5/conf/pinyin.conf
@@ -0,0 +1,125 @@
+# Shuangpin Profile
+ShuangpinProfile=Ziranma
+# Show current shuangpin mode
+ShowShuangpinMode=True
+# Page size
+PageSize=7
+# Enable Spell
+SpellEnabled=True
+# Enable Emoji
+EmojiEnabled=True
+# Enable Chaizi
+ChaiziEnabled=True
+# Enable Characters in Unicode CJK Extension B
+ExtBEnabled=True
+# Enable Cloud Pinyin
+CloudPinyinEnabled=False
+# Cloud Pinyin Index
+CloudPinyinIndex=2
+# Show preedit within application
+PreeditInApplication=True
+# Fix embedded preedit cursor at the beginning of the preedit
+PreeditCursorPositionAtBeginning=True
+# Show complete pinyin in preedit
+PinyinInPreedit=False
+# Enable Prediction
+Prediction=False
+# Prediction Size
+PredictionSize=10
+# Action when switching input method
+SwitchInputMethodBehavior="Commit current preedit"
+# Select 2nd Candidate
+SecondCandidate=
+# Select 3rd Candidate
+ThirdCandidate=
+# Use Keypad as Selection key
+UseKeypadAsSelection=False
+# Use BackSpace to cancel the selection
+BackSpaceToUnselect=True
+# Number of Sentences
+Number of sentence=2
+# Prompt long word length when input length over (0 for disable)
+LongWordLengthLimit=4
+# Key to trigger quickphrase
+QuickPhraseKey=semicolon
+# Use V to trigger quickphrase
+VAsQuickphrase=True
+# FirstRun
+FirstRun=False
+
+[ForgetWord]
+0=Control+7
+
+[PrevPage]
+0=minus
+1=Up
+2=KP_Up
+
+[NextPage]
+0=equal
+1=Down
+2=KP_Down
+
+[PrevCandidate]
+0=Shift+Tab
+
+[NextCandidate]
+0=Tab
+
+[ChooseCharFromPhrase]
+0=bracketleft
+1=bracketright
+
+[FilterByStroke]
+0=grave
+
+[QuickPhrase trigger]
+0=www.
+1=ftp.
+2=http:
+3=mail.
+4=bbs.
+5=forum.
+6=https:
+7=ftp:
+8=telnet:
+9=mailto:
+
+[Fuzzy]
+# ue -> ve
+VE_UE=True
+# Common Typo
+NG_GN=True
+# Inner Segment (xian -> xi'an)
+Inner=True
+# Inner Segment for Short Pinyin (qie -> qi'e)
+InnerShort=True
+# Match partial finals (e -> en, eng, ei)
+PartialFinal=True
+# Match partial shuangpin if input length is longer than 4
+PartialSp=False
+# u <-> v
+V_U=False
+# an <-> ang
+AN_ANG=False
+# en <-> eng
+EN_ENG=False
+# ian <-> iang
+IAN_IANG=False
+# in <-> ing
+IN_ING=False
+# u <-> ou
+U_OU=False
+# uan <-> uang
+UAN_UANG=False
+# c <-> ch
+C_CH=False
+# f <-> h
+F_H=False
+# l <-> n
+L_N=False
+# s <-> sh
+S_SH=False
+# z <-> zh
+Z_ZH=False
+
diff --git a/fcitx5/conf/punctuation.conf b/fcitx5/conf/punctuation.conf
@@ -0,0 +1,10 @@
+# Half width punctuation after latin letter or number
+HalfWidthPuncAfterLetterOrNumber=True
+# Type paired punctuations together (e.g. Quote)
+TypePairedPunctuationsTogether=False
+# Enabled
+Enabled=True
+
+[Hotkey]
+0=Control+period
+
diff --git a/fcitx5/conf/xcb.conf b/fcitx5/conf/xcb.conf
@@ -0,0 +1,5 @@
+# Allow Overriding System XKB Settings
+Allow Overriding System XKB Settings=False
+# Always set layout to be only group layout
+AlwaysSetToGroupLayout=True
+
diff --git a/fcitx5/config b/fcitx5/config
@@ -0,0 +1,65 @@
+[Hotkey]
+# Enumerate when press trigger key repeatedly
+EnumerateWithTriggerKeys=True
+# Temporally switch between first and current Input Method
+AltTriggerKeys=
+# 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=
+# Toggle embedded preedit
+TogglePreedit=
+
+[Hotkey/TriggerKeys]
+0=Control+Shift+space
+
+[Hotkey/PrevPage]
+0=Up
+
+[Hotkey/NextPage]
+0=Down
+
+[Hotkey/PrevCandidate]
+0=Shift+Tab
+
+[Hotkey/NextCandidate]
+0=Tab
+
+[Behavior]
+# Active By Default
+ActiveByDefault=True
+# Share Input State
+ShareInputState=No
+# 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
+
diff --git a/fcitx5/profile b/fcitx5/profile
@@ -0,0 +1,23 @@
+[Groups/0]
+# Group Name
+Name=Default
+# Layout
+Default Layout=us-dvorak
+# Default Input Method
+DefaultIM=keyboard-us-dvorak
+
+[Groups/0/Items/0]
+# Name
+Name=pinyin
+# Layout
+Layout=
+
+[Groups/0/Items/1]
+# Name
+Name=keyboard-us-dvorak
+# Layout
+Layout=
+
+[GroupOrder]
+0=Default
+