fcitx5: added
This commit is contained in:
parent
fc3b5dbb6b
commit
82a3e26194
4
programs
4
programs
@ -69,6 +69,10 @@ which
|
|||||||
dnsutils
|
dnsutils
|
||||||
man-pages
|
man-pages
|
||||||
zoxide
|
zoxide
|
||||||
|
# IME input
|
||||||
|
fcitx5
|
||||||
|
fcitx5-chinese-addons
|
||||||
|
fcitx5-configtool
|
||||||
|
|
||||||
# in the aur
|
# in the aur
|
||||||
tmsu
|
tmsu
|
||||||
|
12
src/.config/fcitx5/conf/chttrans.conf
Normal file
12
src/.config/fcitx5/conf/chttrans.conf
Normal file
@ -0,0 +1,12 @@
|
|||||||
|
# Translate engine
|
||||||
|
Engine=OpenCC
|
||||||
|
# Enabled Input Methods
|
||||||
|
EnabledIM=
|
||||||
|
# OpenCC profile for Simplified to Traditional
|
||||||
|
OpenCCS2TProfile=default
|
||||||
|
# OpenCC profile for Traditional to Simplified
|
||||||
|
OpenCCT2SProfile=default
|
||||||
|
|
||||||
|
[Hotkey]
|
||||||
|
0=Control+Shift+F
|
||||||
|
|
35
src/.config/fcitx5/conf/classicui.conf
Normal file
35
src/.config/fcitx5/conf/classicui.conf
Normal file
@ -0,0 +1,35 @@
|
|||||||
|
# Vertical Candidate List
|
||||||
|
Vertical Candidate List=False
|
||||||
|
# Use mouse wheel to go to prev or next page
|
||||||
|
WheelForPaging=True
|
||||||
|
# Font
|
||||||
|
Font="WenQuanYi Micro Hei 12"
|
||||||
|
# Menu Font
|
||||||
|
MenuFont="Inter Display 10"
|
||||||
|
# Tray Font
|
||||||
|
TrayFont="Inter Display Demi-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
|
||||||
|
UseInputMethodLanguageToDisplayText=True
|
||||||
|
# Theme
|
||||||
|
Theme=default-dark
|
||||||
|
# Dark Theme
|
||||||
|
DarkTheme=default-dark
|
||||||
|
# Follow system light/dark color scheme
|
||||||
|
UseDarkTheme=False
|
||||||
|
# Follow system accent color if it is supported by theme and desktop
|
||||||
|
UseAccentColor=True
|
||||||
|
# Use Per Screen DPI on X11
|
||||||
|
PerScreenDPI=False
|
||||||
|
# Force font DPI on Wayland
|
||||||
|
ForceWaylandDPI=0
|
||||||
|
# Enable fractional scale under Wayland
|
||||||
|
EnableFractionalScale=True
|
||||||
|
|
9
src/.config/fcitx5/conf/cloudpinyin.conf
Normal file
9
src/.config/fcitx5/conf/cloudpinyin.conf
Normal file
@ -0,0 +1,9 @@
|
|||||||
|
# Toggle Key
|
||||||
|
Toggle Key=
|
||||||
|
# Minimum Pinyin Length
|
||||||
|
MinimumPinyinLength=4
|
||||||
|
# Backend
|
||||||
|
Backend=GoogleCN
|
||||||
|
# Proxy
|
||||||
|
Proxy=
|
||||||
|
|
3
src/.config/fcitx5/conf/notifications.conf
Normal file
3
src/.config/fcitx5/conf/notifications.conf
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
# Hidden Notifications
|
||||||
|
HiddenNotifications=
|
||||||
|
|
133
src/.config/fcitx5/conf/pinyin.conf
Normal file
133
src/.config/fcitx5/conf/pinyin.conf
Normal file
@ -0,0 +1,133 @@
|
|||||||
|
# Shuangpin Profile
|
||||||
|
ShuangpinProfile=Ziranma
|
||||||
|
# Show current shuangpin mode
|
||||||
|
ShowShuangpinMode=True
|
||||||
|
# Page size
|
||||||
|
PageSize=7
|
||||||
|
# Enable Spell
|
||||||
|
SpellEnabled=True
|
||||||
|
# Enable Symbols
|
||||||
|
SymbolsEnabled=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 animation when Cloud Pinyin is loading
|
||||||
|
CloudPinyinAnimation=True
|
||||||
|
# Always show Cloud Pinyin place holder
|
||||||
|
KeepCloudPinyinPlaceHolder=False
|
||||||
|
# Preedit Mode
|
||||||
|
PreeditMode="Composing pinyin"
|
||||||
|
# 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=49
|
||||||
|
# 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=Control+K
|
||||||
|
3=Page_Up
|
||||||
|
|
||||||
|
[NextPage]
|
||||||
|
0=equal
|
||||||
|
1=Control+J
|
||||||
|
2=KP_Down
|
||||||
|
3=Next
|
||||||
|
|
||||||
|
[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
|
||||||
|
# Correction Layout
|
||||||
|
Correction=None
|
||||||
|
|
10
src/.config/fcitx5/conf/punctuation.conf
Normal file
10
src/.config/fcitx5/conf/punctuation.conf
Normal file
@ -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
|
||||||
|
|
5
src/.config/fcitx5/conf/xcb.conf
Normal file
5
src/.config/fcitx5/conf/xcb.conf
Normal file
@ -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
|
||||||
|
|
81
src/.config/fcitx5/config
Normal file
81
src/.config/fcitx5/config
Normal file
@ -0,0 +1,81 @@
|
|||||||
|
[Hotkey]
|
||||||
|
# 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
|
||||||
|
|
||||||
|
[Hotkey/TriggerKeys]
|
||||||
|
0=Control+space
|
||||||
|
1=Zenkaku_Hankaku
|
||||||
|
2=Hangul
|
||||||
|
|
||||||
|
[Hotkey/AltTriggerKeys]
|
||||||
|
0=Shift_L
|
||||||
|
|
||||||
|
[Hotkey/EnumerateGroupForwardKeys]
|
||||||
|
0=Super+space
|
||||||
|
|
||||||
|
[Hotkey/EnumerateGroupBackwardKeys]
|
||||||
|
0=Shift+Super+space
|
||||||
|
|
||||||
|
[Hotkey/ActivateKeys]
|
||||||
|
0=Hangul_Hanja
|
||||||
|
|
||||||
|
[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
|
||||||
|
# Reset state on Focus In
|
||||||
|
resetStateWhenFocusIn=No
|
||||||
|
# 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
|
||||||
|
# Allow input method in the password field
|
||||||
|
AllowInputMethodForPassword=False
|
||||||
|
# Show preedit text when typing password
|
||||||
|
ShowPreeditForPassword=False
|
||||||
|
# Interval of saving user data in minutes
|
||||||
|
AutoSavePeriod=30
|
||||||
|
|
29
src/.config/fcitx5/profile
Normal file
29
src/.config/fcitx5/profile
Normal file
@ -0,0 +1,29 @@
|
|||||||
|
[Groups/0]
|
||||||
|
# Group Name
|
||||||
|
Name=Default
|
||||||
|
# Layout
|
||||||
|
Default Layout=us
|
||||||
|
# Default Input Method
|
||||||
|
DefaultIM=pinyin
|
||||||
|
|
||||||
|
[Groups/0/Items/0]
|
||||||
|
# Name
|
||||||
|
Name=keyboard-us
|
||||||
|
# Layout
|
||||||
|
Layout=
|
||||||
|
|
||||||
|
[Groups/0/Items/1]
|
||||||
|
# Name
|
||||||
|
Name=keyboard-ca
|
||||||
|
# Layout
|
||||||
|
Layout=
|
||||||
|
|
||||||
|
[Groups/0/Items/2]
|
||||||
|
# Name
|
||||||
|
Name=pinyin
|
||||||
|
# Layout
|
||||||
|
Layout=
|
||||||
|
|
||||||
|
[GroupOrder]
|
||||||
|
0=Default
|
||||||
|
|
@ -29,12 +29,16 @@ export DBUS_SESSION_BUS_WINDOWID
|
|||||||
export GTK_IM_MODULE=fcitx
|
export GTK_IM_MODULE=fcitx
|
||||||
export QT_IM_MODULE=fcitx
|
export QT_IM_MODULE=fcitx
|
||||||
# for some reason this breaks deadkeys
|
# for some reason this breaks deadkeys
|
||||||
#export XMODIFIERS=@im=fcitx
|
export XMODIFIERS=@im=fcitx
|
||||||
|
|
||||||
# set up keyboard
|
# set up keyboard
|
||||||
keyboard.sh
|
keyboard.sh
|
||||||
export XCOMPOSEFILE="$XDG_CONFIG_HOME"/xcompose/main
|
export XCOMPOSEFILE="$XDG_CONFIG_HOME"/xcompose/main
|
||||||
|
|
||||||
|
if command -v fcitx5 > /dev/null; then
|
||||||
|
fcitx5 &
|
||||||
|
fi
|
||||||
|
|
||||||
while true; do
|
while true; do
|
||||||
DATE=$(date +'%H:%M:%S %a %b %d')
|
DATE=$(date +'%H:%M:%S %a %b %d')
|
||||||
#TEMP="$(($(cat /sys/class/thermal/thermal_zone0/temp) / 1000))C"
|
#TEMP="$(($(cat /sys/class/thermal/thermal_zone0/temp) / 1000))C"
|
||||||
|
Loading…
Reference in New Issue
Block a user