diff --git a/.config/fcitx5/conf/classicui.conf b/.config/fcitx5/conf/classicui.conf new file mode 100644 index 0000000..c0e988a --- /dev/null +++ b/.config/fcitx5/conf/classicui.conf @@ -0,0 +1,17 @@ +# 垂直候选列表 +Vertical Candidate List=False + +# 可用时在应用程序中显示预编辑文本 +PreeditInApplication=True + +# 按屏幕 DPI 使用 +PerScreenDPI=True + +# Font (设置成你喜欢的字体) +# 这个字体需要安装思源黑体 +Font="思源黑体 CN Medium 12" + +# 主题 +# Theme=winter +# 这个主题需要安装包fcitx5-material-color +Theme=Material-Color-DeepPurple diff --git a/.config/fcitx5/conf/rime.conf b/.config/fcitx5/conf/rime.conf new file mode 100644 index 0000000..e921f9f --- /dev/null +++ b/.config/fcitx5/conf/rime.conf @@ -0,0 +1,2 @@ +# 可用时在应用程序中显示预编辑文本 +PreeditInApplication=True diff --git a/.local/share/fcitx5/rime/default.custom.yaml b/.local/share/fcitx5/rime/default.custom.yaml new file mode 100644 index 0000000..0288ee8 --- /dev/null +++ b/.local/share/fcitx5/rime/default.custom.yaml @@ -0,0 +1,3 @@ +patch: + schema_list: + - schema: double_pinyin_mspy diff --git a/.local/share/fcitx5/themes/winter/arrow.png b/.local/share/fcitx5/themes/winter/arrow.png new file mode 100644 index 0000000..6582e12 Binary files /dev/null and b/.local/share/fcitx5/themes/winter/arrow.png differ diff --git a/.local/share/fcitx5/themes/winter/panel.png b/.local/share/fcitx5/themes/winter/panel.png new file mode 100644 index 0000000..2b8d158 Binary files /dev/null and b/.local/share/fcitx5/themes/winter/panel.png differ diff --git a/.local/share/fcitx5/themes/winter/radio.png b/.local/share/fcitx5/themes/winter/radio.png new file mode 100644 index 0000000..9b6c5ab Binary files /dev/null and b/.local/share/fcitx5/themes/winter/radio.png differ diff --git a/.local/share/fcitx5/themes/winter/theme.conf b/.local/share/fcitx5/themes/winter/theme.conf new file mode 100644 index 0000000..f7ff8ec --- /dev/null +++ b/.local/share/fcitx5/themes/winter/theme.conf @@ -0,0 +1,91 @@ +[Metadata] +Name=winter +Version=0.1 +Author=thepoy +Description=Fctix5 Winter Theme +ScaleWithDPI=True + +[InputPanel] +# 字体 +Font=Sans 13 +# 非选中候选字颜色 +NormalColor=#ffffff +# 选中候选字颜色 +HighlightCandidateColor=#ffffff +# 高亮前景颜色(输入字符颜色) +HighlightColor=#37474f +# 输入字符背景颜色 +HighlightBackgroundColor=#ffffff +# +Spacing=3 + +[InputPanel/TextMargin] +# 候选字对左边距 +Left=20 +# 候选字对右边距 +Right=20 +# 候选字向上边距 +Top=10 +# 候选字向下边距 +Bottom=10 + +[InputPanel/Background] +Image=panel.png + +[InputPanel/Background/Margin] +Left=2 +Right=2 +Top=2 +Bottom=2 + +[InputPanel/Highlight] +Color=#1D66CD + +[InputPanel/Highlight/Margin] +# 高亮区域左边距 +Left=20 +# 高亮区域右边距 +Right=20 +# 高亮区域上边距 +Top=10 +# 高亮区域下边距 +Bottom=10 + +[Menu/Background] +Color=#ffffff + +[Menu/Background/Margin] +Left=2 +Right=2 +Top=2 +Bottom=2 + +[Menu/ContentMargin] +Left=2 +Right=2 +Top=2 +Bottom=2 + +[Menu/Highlight] +Color=#1D66CD + +[Menu/Highlight/Margin] +Left=10 +Right=10 +Top=5 +Bottom=5 + +[Menu/Separator] +Color=#c0c0c0 + +[Menu/CheckBox] +Image=radio.png + +[Menu/SubMenu] +Image=arrow.png + +[Menu/TextMargin] +Left=5 +Right=5 +Top=5 +Bottom=5 diff --git a/.rc.sh b/.rc.sh index d1573e6..b87cad1 100644 --- a/.rc.sh +++ b/.rc.sh @@ -14,6 +14,10 @@ alias w='cd /var/www/html' alias p='cd `project_folder`' alias d='docker' +# copilot +alias '??'='gh copilot suggest' +alias '?'='gh copilot explain' + export PUB_HOSTED_URL=https://mirror.sjtu.edu.cn/dart-pub/ export FLUTTER_STORAGE_BASE_URL=https://mirror.sjtu.edu.cn/ export CHROME_EXECUTABLE=/usr/bin/microsoft-edge-stable