CachyOS + niri(Wayland)桌面配置备份。matugen 全链路动态配色 + 全局毛玻璃。
dotfiles/
├── .zshrc # zsh(引用系统 cachyos 配置)
├── bin/ # ~/.local/bin 脚本(换壁纸/配色一体化、壁纸缩略图生成)
└── config/
│
├── 桌面(niri Wayland)
├── niri/ # 合成器,cfg/ 拆分:动画/自启动/键位/输入/显示器/布局/规则/杂项
│ ├── cfg/rules.kdl # 全局毛玻璃(opacity 0.85 + blur),steam 豁免,ghostty 例外
│ ├── cfg/autostart.kdl # 自启动:swayidle(30min锁/40min灭屏)、fcitx5、cliphist 等
│ ├── colors.kdl # focus-ring 颜色,由 matugen 生成
│ └── scripts/ # 壁纸启动、ghostty-font(字号随外接屏 16/内屏 14 自动切换)
├── ironbar/ # 状态栏(top 布局 + 配套脚本)
├── mako/ # 通知守护进程(config 由 matugen 生成,半透明背景配合模糊)
├── swaylock/ # 锁屏(桌面截图模糊背景 + 时钟;config 由 matugen 生成)
├── wlogout/ # 登出/关机菜单
├── walker/ # 应用启动器(液态玻璃主题)
├── elephant/ # walker 数据源(menus:壁纸/WiFi/蓝牙,scripts:连接脚本)
├── matugen/ # Material You 主题引擎 + 模板(动态配色源头)
├── gtk-3.0/ # GTK3 主题(gtk.css 由 matugen 生成)
├── gtk-4.0/ # GTK4/libadwaita 主题(gtk.css 由 matugen 生成)
└── qt6ct/ # Qt6 主题(colors/matugen.conf 由 matugen 生成)
│
├── 终端(terminal)
├── ghostty/ # Ghostty 终端(含 shaders 特效,matugen 热重载配色;font-size.conf 由脚本改写)
├── btop/ # 系统监视器
├── yazi/ # 终端文件管理器(plugins/:git/smart-enter/piper,手动安装)
├── zellij/ # 终端多路复用器(Alt 键位 + layouts/ scripts/)
├── fastfetch/ # 终端 fetch 信息展示
├── helix/ # 编辑器
- 用户名路径:部分配置(ironbar 脚本、niri keybinds、qt6ct.conf)硬编码了
/home/xujinfan,迁移机器时需替换。 - matugen 联动:
matugen/config.toml定义了换壁纸后配色如何写入 ironbar / ghostty / mako / walker / wlogout / swaylock / gtk-3.0 / gtk-4.0 / qt6ct / niri。 标记「由 matugen 生成」的文件不要手改,改matugen/templates/里对应的模板。 - 输入法:fcitx5 由 niri autostart 拉起;IM 环境变量在
niri/cfg/misc.kdl(niri 不支持 input-method-v2,GTK/Qt/X 应用走 IM module)。 Wayland 诊断通知已在fcitx5/conf/notifications.conf屏蔽(该文件不入库,见下)。 - yazi 插件:手动放置(终端无代理时 GitHub 不可达),
ya pkg无登记。 更新方式:从 codhttps://github.com/xuj1nfan/MyProvereload.github.com 拉 yazi-rs/plugins 的 tarball 覆盖yazi/plugins/。 - 依赖包:
swayidle qt6ct mediainfo gopls bash-language-server cliphist wl-clipboard grim slurp playerctl ddcutil awww elephant walker ironbar mako swaylock wlogout matugen fcitx5 fcitx5-gtk fcitx5-qt ghostty yazi zellij helix btop fastfetch eza zoxide。