From 22af507d1c08115cf20e5fcfe170ef2c702d02d2 Mon Sep 17 00:00:00 2001 From: davidpkj Date: Sun, 10 Sep 2023 11:57:12 +0200 Subject: Add fcitx5 --- fcitx5/.config/fcitx5/conf/classicui.conf | 27 +++++++++++ fcitx5/.config/fcitx5/conf/keyboard.conf | 30 ++++++++++++ fcitx5/.config/fcitx5/conf/m17n.conf | 3 ++ fcitx5/.config/fcitx5/conf/notifications.conf | 3 ++ fcitx5/.config/fcitx5/conf/unicode.conf | 6 +++ fcitx5/.config/fcitx5/conf/xcb.conf | 5 ++ fcitx5/.config/fcitx5/config | 67 +++++++++++++++++++++++++++ fcitx5/.config/fcitx5/profile | 20 ++++++++ 8 files changed, 161 insertions(+) create mode 100644 fcitx5/.config/fcitx5/conf/classicui.conf create mode 100644 fcitx5/.config/fcitx5/conf/keyboard.conf create mode 100644 fcitx5/.config/fcitx5/conf/m17n.conf create mode 100644 fcitx5/.config/fcitx5/conf/notifications.conf create mode 100644 fcitx5/.config/fcitx5/conf/unicode.conf create mode 100644 fcitx5/.config/fcitx5/conf/xcb.conf create mode 100644 fcitx5/.config/fcitx5/config create mode 100644 fcitx5/.config/fcitx5/profile diff --git a/fcitx5/.config/fcitx5/conf/classicui.conf b/fcitx5/.config/fcitx5/conf/classicui.conf new file mode 100644 index 0000000..3aea4b3 --- /dev/null +++ b/fcitx5/.config/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="JetBrains Mono 8" +# Menu Font +MenuFont="Sans 10" +# Tray Font +TrayFont="Sans Bold 10" +# 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=Material-Color-Black +# Force font DPI on Wayland +ForceWaylandDPI=0 + diff --git a/fcitx5/.config/fcitx5/conf/keyboard.conf b/fcitx5/.config/fcitx5/conf/keyboard.conf new file mode 100644 index 0000000..d961443 --- /dev/null +++ b/fcitx5/.config/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/.config/fcitx5/conf/m17n.conf b/fcitx5/.config/fcitx5/conf/m17n.conf new file mode 100644 index 0000000..41da9f0 --- /dev/null +++ b/fcitx5/.config/fcitx5/conf/m17n.conf @@ -0,0 +1,3 @@ +# Enable Deprecated +EnableDeprecated=True + diff --git a/fcitx5/.config/fcitx5/conf/notifications.conf b/fcitx5/.config/fcitx5/conf/notifications.conf new file mode 100644 index 0000000..6e7d1b9 --- /dev/null +++ b/fcitx5/.config/fcitx5/conf/notifications.conf @@ -0,0 +1,3 @@ +# Hidden Notifications +HiddenNotifications= + diff --git a/fcitx5/.config/fcitx5/conf/unicode.conf b/fcitx5/.config/fcitx5/conf/unicode.conf new file mode 100644 index 0000000..b2b1f44 --- /dev/null +++ b/fcitx5/.config/fcitx5/conf/unicode.conf @@ -0,0 +1,6 @@ +# Type unicode in Hex number +DirectUnicodeMode= + +[TriggerKey] +0=Super+U + diff --git a/fcitx5/.config/fcitx5/conf/xcb.conf b/fcitx5/.config/fcitx5/conf/xcb.conf new file mode 100644 index 0000000..9d36cfd --- /dev/null +++ b/fcitx5/.config/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/fcitx5/config b/fcitx5/.config/fcitx5/config new file mode 100644 index 0000000..5584002 --- /dev/null +++ b/fcitx5/.config/fcitx5/config @@ -0,0 +1,67 @@ +[Hotkey] +# Trigger Input Method +TriggerKeys= +# Enumerate when press trigger key repeatedly +EnumerateWithTriggerKeys=True +# Temporally switch between first and current Input Method +AltTriggerKeys= +# 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= + +[Hotkey/EnumerateForwardKeys] +0=Super+I + +[Hotkey/DeactivateKeys] +0=Hangul_Romaja + +[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=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/.config/fcitx5/profile b/fcitx5/.config/fcitx5/profile new file mode 100644 index 0000000..a25cdd5 --- /dev/null +++ b/fcitx5/.config/fcitx5/profile @@ -0,0 +1,20 @@ +[Groups/0] +Name="Group 1" +Default Layout=us +DefaultIM=keyboard-us + +[Groups/0/Items/0] +Name=keyboard-us +Layout=us + +[Groups/0/Items/1] +Name=m17n_ru_phonetic +Layout=us + +[Groups/0/Items/2] +Name=kkc +Layout=us + +[GroupOrder] +0="Group 1" + -- cgit v1.2.3