添加fcitx5配置

i3
yutent 2023-06-26 15:51:17 +08:00
parent a1b2738049
commit 5b2abc0aa8
27 changed files with 439 additions and 2 deletions

View File

@ -0,0 +1,11 @@
# Translate engine
Engine=OpenCC
# Toggle key
Hotkey=
# Enabled Input Methods
EnabledIM=
# OpenCC profile for Simplified to Traditional
OpenCCS2TProfile=
# OpenCC profile for Traditional to Simplified
OpenCCT2SProfile=

View File

@ -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=False
# Font
Font="Hiragino Sans GB Light 10"
# Menu Font
MenuFont="Hiragino Sans GB Light 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=plain-red
# Force font DPI on Wayland
ForceWaylandDPI=0

View File

@ -0,0 +1,7 @@
# 触发键
TriggerKey=
# 粘贴主选区
PastePrimaryKey=
# 项目个数
Number of entries=5

View File

@ -0,0 +1,3 @@
# 切换键
Hotkey=

View File

@ -0,0 +1,9 @@
# 触发键
TriggerKey=
# 当前输入上下文的触发键
TriggerKeyLocal=
# 切换到当前输入法到第...个输入法的按键
SwitchKey=
# 切换到当前局部输入法到第...个输入法的按键
SwitchKeyLocal=

View File

@ -0,0 +1,22 @@
# 页大小
PageSize=5
# 上一个候选词
PrevCandidate=
# 下一个候选词
NextCandidate=
# 在输入提示中启用 Emoji
EnableEmoji=True
# 在快速输入中启用颜文字
EnableQuickPhraseEmoji=True
# 选词修饰键
Choose Modifier=None
# 切换提示模式
Hint Trigger=
# 触发一次提示模式
One Time Hint Trigger=
# 用长按来输入特殊字符
EnableLongPress=False
[LongPressBlocklist]
0=konsole

View File

@ -0,0 +1,3 @@
# 在使用键盘或者图标不可用时显示标签
Show Label=False

View File

@ -0,0 +1,3 @@
# Hidden Notifications
HiddenNotifications=

View File

@ -0,0 +1,113 @@
# Shuangpin Profile
ShuangpinProfile=Ziranma
# Show current shuangpin mode
ShowShuangpinMode=True
# Page size
PageSize=5
# Enable Spell
SpellEnabled=False
# Enable Emoji
EmojiEnabled=True
# Enable Chaizi
ChaiziEnabled=True
# Enable Characters in Unicode CJK Extension B
ExtBEnabled=True
# Enable Cloud Pinyin
CloudPinyinEnabled=True
# 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"
# Forget word
ForgetWord=
# Previous Page
PrevPage=
# Next Page
NextPage=
# Previous Candidate
PrevCandidate=
# Next Candidate
NextCandidate=
# Select 2nd Candidate
SecondCandidate=
# Select 3rd Candidate
ThirdCandidate=
# Use Keypad as Selection key
UseKeypadAsSelection=False
# Choose Character from Phrase
ChooseCharFromPhrase=
# Use BackSpace to cancel the selection
BackSpaceToUnselect=True
# Filter by stroke
FilterByStroke=
# 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=
# Use V to trigger quickphrase
VAsQuickphrase=True
# FirstRun
FirstRun=False
[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

View 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

View File

@ -0,0 +1,9 @@
# 触发键
TriggerKey=
# 选词修饰键
Choose Modifier=None
# 启用拼写检查
Spell=False
# 备选拼写检查语言
FallbackSpellLanguage=en

View File

@ -0,0 +1,11 @@
# 在程序中显示预编辑文本
PreeditInApplication=True
# 取消激活输入法时提交当前文本。
Commit when deactivate.=True
# 自动加载可用插件
AutoloadPlugins=True
# 插件
Plugins=
# 模块
Modules=

View File

@ -0,0 +1,9 @@
# 查找拼音
LookupPinyinKey=
[ModifyDictionaryKey]
0=Control+Alt+equal
[ForgetWord]
0=Control+Alt+minus

View File

@ -0,0 +1,3 @@
# 使用 On The Spot 风格 (需要重启)
UseOnTheSpot=False

View File

@ -60,3 +60,4 @@ EnabledAddons=
DisabledAddons=
# Preload input method to be used by default
PreloadInputMethod=True

View File

@ -20,3 +20,4 @@ Layout=
[GroupOrder]
0=Default

View File

@ -0,0 +1,78 @@
[Table]
# Prev Candidate
PrevCandidate=
# Next Candidate
NextCandidate=
# Select Second Candidate
SecondCandidate=
# Select Third Candidate
ThirdCandidate=
# Page size
PageSize=5
# Commit after auto select candidates
CommitAfterSelect=True
# Commit buffer when deactivating input method
CommitWhenDeactivate=True
# Commit Invalid Segment
CommitInvalidSegment=False
# Use full width
UseFullWidth=False
# Ignore built in punctuation
IgnorePunc=False
# First candidate as Preedit
FirstCandidateAsPreedit=False
# Fix embedded preedit cursor at the beginning of the preedit
PreeditCursorPositionAtBeginning=True
# Key to trigger quickphrase
QuickPhraseKey=semicolon
# Text to trigger quickphrase
QuickPhraseText=ABCDEFGHIJLKLMNOPQRSTUVWXYZ
# Don't sort word shorter than
NoSortInputLength=2
# Order policy
OrderPolicy=Freq
# Use system language model
UseSystemLanguageModel=True
# Sort candidates based on current context
UseContextRelatedOrder=False
# Wildcard matching Key
MatchingKey=z
# Prefix key to trigger Pinyin
PinyinKey=grave
# Auto select candidate
AutoSelect=True
# Length limit of selecting the only candidate
AutoSelectLength=-1
# Regular expression for selecting the only candidate
AutoSelectRegex=
# Auto select when no match is found
NoMatchAutoSelectLength=0
# Regular expression for auto select when no match is found
NoMatchAutoSelectRegex=
# Auto phrase length
AutoPhraseLength=4
# Learn auto phrase with phrase
AutoPhraseWithPhrase=False
# Marker for auto phrase in the candidates
MarkerForAutoPhrase=*
# Save auto phrase after being typed for ... times
SaveAutoPhraseAfter=3
# Exact Match
ExactMatch=False
# Learning
Learning=True
# Display Hint for word
Hint=True
# Display custom hint
DisplayCustomHint=False
# Separator text between hint and candidate
HintSeparator=
# Candidate List orientation
CandidateLayoutHint=Horizontal
[Table/PrevPage]
0=minus
[Table/NextPage]
0=equal

21
home/.local/bin/npm Executable file
View File

@ -0,0 +1,21 @@
#!/bin/bash
NPM=/usr/bin/npm
case "$1" in
i|install|show|view|up|update|outdated|init|create)
$NPM --registry=https://registry.npmmirror.com "$@"
;;
sync)
curl -I "https://registry-direct.npmmirror.com/$2/sync?sync_upstream=true" -X 'PUT' -H 'authority: registry-direct.npmmirror.com' -H 'accept: application/json, text/javascript, */*; q=0.01' -H 'accept-language: zh-CN,zh;q=0.9,en-US;q=0.8,en;q=0.7' -H 'content-length: 0' -H 'origin: https://npmmirror.com' -H 'referer: https://npmmirror.com/' -H 'user-agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/108.0.0.0 Safari/537.36' --compressed
echo "同步 $2 成功~~"
echo ""
;;
origin)
$NPM search $2
;;
*)
$NPM "$@"
;;
esac

View File

@ -0,0 +1,24 @@
. 。
, ,
? ?
" "
: :
; ;
' '
< 《
> 》
\ 、
! !
$ $
^ ……
_ _
( (
) )
[ 【
] 】
~ ~
* *
& &
# #
@ @
` `

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

After

Width:  |  Height:  |  Size: 162 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 166 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 166 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 467 B

View File

@ -0,0 +1,72 @@
[Metadata]
Name=plain-red
Version=1
Author=yutent
Description=Fctix5 朴素主题
ScaleWithDPI=True
[InputPanel]
# 字体(实际上没啥用,不读这里的配置)
Font=Sans 12
# 非选中候选字颜色
NormalColor=#64748B
# 高亮前景颜色(输入字符颜色)
HighlightColor=#ffffff
#
Spacing=3
[InputPanel/TextMargin]
# 候选字对左边距
Left=12
# 候选字对右边距
Right=12
# 候选字向上边距
Top=12
# 候选字向下边距
Bottom=12
[InputPanel/Background]
Color=#ffffff
BorderColor=#64748b59
BorderWidth=1
[InputPanel/Background/Margin]
Left=2
Right=2
Top=2
Bottom=2
[InputPanel/Highlight]
# 候选词背景色
Color=#fc7661
[InputPanel/Highlight/Margin]
# 高亮区域左边距
Left=12
# 高亮区域右边距
Right=12
# 高亮区域上边距
Top=12
# 高亮区域下边距
Bottom=12
[InputPanel/PrevPage]
Image=prev.png
[InputPanel/PrevPage/ClickMargin]
Left=5
Right=5
Top=4
Bottom=4
[InputPanel/NextPage]
Image=next.png
[InputPanel/NextPage/ClickMargin]
Left=5
Right=5
Top=4
Bottom=4