Files
aglab.dotfiles/readme.md
2025-11-23 10:51:59 +08:00

46 lines
2.2 KiB
Markdown
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# niri 散装配置集dotfiles
都怪雪叶!(
> [!note]
> 本仓库的配置管理方案比较原始:逐个做软链接处理。有觉得`stow`等工具好用,想要重新组织文件树的欢迎 pr.
> - `.config/**` -> `$HOME/.config/**`
> - `bin`直接并入`$PATH`
> > 其中带后缀(如`.sh`)的脚本仅供 niri 等组件调用,设计上并不希望在终端里启动。
>
> - `.z*` -> `$HOME/.z*`
> - `default-electron-flags` -> `$HOME/.config/*-flags.conf` (code, chrome)
> > QQ 不适用这组参数,另见 archlinuxcn 社区论坛。
> [!note]
> 还有一些较早做的配置,以及全局配置(像 sddm并不方便合进来由于篇幅和复述可靠性有限就略过罢。
## 鸣谢
- 雪叶 [@Vescrity](https://github.com/Vescrity) (Yukitoha)
- fizzyizzy05 (Isabelle Jackson, mtf)
## 已知依赖
> 仅列出**想得起来的**依赖软件包。
|依赖|配置|备注|
|-|-|-|
|niri|`.config/niri/config.kdl`|
|`fuzzel`|`.config/fuzzel/*`|
|`mako`|`.config/mako/*`|
|`swww`|`bin/chbg` (bash)|另需`imagemagick`来生成图片的高斯模糊版本。|
|`gtklock`|`.config/gtklock/*`|现阶段无法跟`swayidle`合用,尽管其 Wiki 鼓励这么做。|
|`xdg-desktop-portal-(gtk\|gnome)`|`.config/xdg-desktop-portal/*-portals.conf`|GNOME 支持最全,但称不上好看(|
|`kwallet`|VSCode 试图登录时会弹出向导让你配的。|替代`gnome-keyring`。建议加装`kwallet-pam`,免得 VSCode 自己尝试解锁结果闪退。|
|foot|`.config/foot/foot.ini`|
|yazi|`.config/yazi/*`|替代`nautilus`;另用`fake-nautilus`移除`nautilus`包。|
|fastfetch|`.config/fastfetch/*`|
|waybar|`.config/waybar/*`|
|`mpris`|`systemctl --user`服务|参见 ArchWiki.|
|`pavucontrol-qt`|
## 参考资源与备注
- Nerd 字体:[Monaco Nerd Font Mono (MelodyEcho ver.)](https://glowmem.com/upload/articles/archlinux-note/Monaco_Nerd_Font_Mono-Regular.ttf) 或直接`ttf-monaco-nerd-font`(AUR)。后者在 VSCode 里表现不咋地。
> 深色模式:`gsettings set org.gnome.desktop.interface color-scheme prefer-dark`
> GTK/QT 深色主题:参见 [Arch Wiki](https://wiki.archlinux.org/title/Uniform_look_for_Qt_and_GTK_applications#Styles_for_both_Qt_and_GTK).