Skip to content
This repository was archived by the owner on Sep 27, 2026. It is now read-only.
jwuPublic archive

About

[DEPRECATED] → jwu/dotfiles, a chezmoi source for my machines

Topics

Resources

Stars

0 stars

Watchers

1 watching

Forks

Latest commit

 

History

48 Commits

Folders and files

Repository files navigation

Warning

本仓库已废弃(DEPRECATED),不再维护。

内容已迁入 jwu/dotfiles——一份 chezmoi 源,统一管理 macOS / Linux / Windows。新机器不要再跑本仓库的 mac/install.sh 或 fcitx5/install-linux.sh,按新仓库的 bootstrap 脚本落地:

# Linux
sh -c "$(curl -fsLS https://raw.githubusercontent.com/jwu/dotfiles/main/bootstrap/arch.sh)"

# macOS(Homebrew 要先装好)
bash -c "$(curl -fsLS https://raw.githubusercontent.com/jwu/dotfiles/main/bootstrap/macos.sh)"
:: Windows(无需管理员)
curl -fsSL https://raw.githubusercontent.com/jwu/dotfiles/main/bootstrap/windows.bat -o "%TEMP%\dotfiles-bootstrap.bat"
"%TEMP%\dotfiles-bootstrap.bat"

各项内容的去向:

本仓库 现在
fcitx5/profile、classicui.conf、themes/jwu/ dot_config/fcitx5/、dot_local/share/fcitx5/themes/jwu/
fcitx5/install-linux.sh run_onchange_after_40-fcitx5.sh.tmpl
fcitx5/update-rime-dict.sh scripts/update-rime-dict.sh
rime/default.custom.yaml、rime_ice.custom.yaml dot_local/share/fcitx5/rime/
rime/squirrel.custom.yaml private_Library/Rime/squirrel.custom.yaml
rime/weasel.custom.yaml AppData/Roaming/Rime/weasel.custom.yaml
aerospace/.aerospace.toml dot_aerospace.toml + run_onchange_after_70-aerospace.sh.tmpl
zed/settings.json dot_config/zed/private_settings.json、AppData/Roaming/Zed/private_settings.json
mac/install.sh bootstrap/macos.sh
totalcmd/wincmd.ini 只留脱敏基线 AppData/Roaming/GHISLER/create_wincmd.ini;原文件含本机安装路径与窗口布局,而且 Total Commander 会持续回写它
inputsource-pro/、obsidian/、rime/、zed/、aerospace/、totalcmd/ 的说明 docs/ 下的同名目录
本 README 的 Reference 清单 docs/reference-desktop.md
*/images/ 下的截图 未迁移;文字已并入上面那些文档

下面的正文是历史存档,其中 cd ~/bin/desktop-settings/... && ./install.sh 这类步骤 已不再适用。


Desktop Settings

个人桌面配置文件仓库

字体配置

  • UI 界面字体:Inter
  • 中文字体:
    • Windows:Microsoft YaHei
    • macOS:PingFang SC

Total Commander 配置

将 totalcmd/wincmd.ini 复制到 ~\AppData\Roaming\GHISLER\ 即可使用。

详细配置说明请参考 totalcmd-config。

Zed 配置

将 zed/settings.json 复制到对应平台的 Zed 配置目录。

详细同步方法请参考 zed-config。

Obsidian 配置

保险库模板是独立仓库 jwu/obsidian-vault-template:克隆到你自己的工作目录,再用 Obsidian 打开。

详细说明请参考 obsidian-config。

Input Source Pro 配置(MacOS)

使用 Homebrew 安装:

brew install --cask input-source-pro

详细说明请参考 inputsource-pro-config。

AeroSpace 配置(MacOS)

将 aerospace/.aerospace.toml 复制到 ~/.aerospace.toml。

详细说明请参考 aerospace-config。

macOS 自动配置

cd ~/bin/desktop-settings/mac
./install.sh

mac/install.sh 把 aerospace/.aerospace.toml 同步到 ~/.aerospace.toml,把 zed/settings.json 同步到 ~/.config/zed/settings.json,覆盖前备份为 .bak.<时间戳>,并在检测到 aerospace 命令时执行 aerospace reload-config。Input Source Pro、Obsidian 和 Total Commander 仍按各自文档手动配置。

Linux 桌面配置

Linux 下的桌面与输入法配置保存在相邻的 configs 仓库中,由 configs/linux/config.sh 在对应程序已安装时同步:

  • configs/linux/.config/niri/config.kdl:Niri 输出、布局、启动项和快捷键
  • configs/linux/.config/hypr/hyprland.lua:备用 Hyprland 配置
  • configs/linux/.config/hypr/hyprlock.conf:hyprlock 锁屏(备用 swaylock 见 configs/linux/.config/swaylock/config)
  • configs/linux/.config/ghostty/config.ghostty:Ghostty 字体、颜色和快捷键
  • configs/linux/.config/waybar/:Waybar 模块、配色与取值脚本
  • configs/linux/.config/environment.d/fcitx5.conf:GTK、Qt 和 XMODIFIERS 输入法环境变量
  • configs/linux/.local/share/icons/:Fcitx5 托盘图标

configs/linux/config.sh 还会同步 linux/.zshrc、nvim、starship、git 和 TTY 字体等通用配置,完整清单见 configs/README.md 的「Linux 配置方案 → 手动配置」。environment.d 的改动需要重新登录后才会生效。

Fcitx5 / Rime Linux 配置

Linux 专用的 Fcitx5 配置位于 fcitx5/:

  • fcitx5/profile:启用 keyboard-us 和 Rime
  • fcitx5/classicui.conf:横向候选列表、字体和主题
  • fcitx5/themes/jwu/theme.conf:白底、蓝色高亮和灰色注释
  • fcitx5/install-linux.sh:同步 Fcitx5 和 Rime 用户配置

安装 Fcitx5 和 fcitx5-rime 后运行(Rime Ice 词库由脚本在首次运行时自动下载):

cd ~/bin/desktop-settings/fcitx5
./install-linux.sh

脚本同步用户补丁和候选窗配置;Rime Ice 词库不进仓库,由脚本在首次运行(rime_ice.schema.yaml 不存在)时从镜像下载解压,并且不清空用户目录 —— build/、用户词频数据库和 Fcitx5 的键盘缓存始终不动。

更新配置

cd ~/bin/desktop-settings
git pull

./mac/install.sh            # macOS:AeroSpace 与 Zed
./fcitx5/install-linux.sh   # Linux:Fcitx5 与 Rime(需已安装 fcitx5)

mac/install.sh 与 fcitx5/install-linux.sh 都可重复执行,覆盖前会按时间戳备份旧文件。

Reference

About

[DEPRECATED] → jwu/dotfiles, a chezmoi source for my machines

Topics

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages