imbytecat 2b3544b4a5 refactor(base): 切换回收站工具 trash-cli → gomi-bin
trash-cli 是 Python 写的老牌方案,启动开销大且 5 年未发布正式
release。gomi 是 Go 实现的现代替代品:

- 完整兼容 freedesktop.org Trash 规范,与 yazi/GNOME/KDE 互通
- 提供交互式 TUI 浏览/恢复界面(gomi 无参数即进入)
- 性能比 trash-cli 快约 10 倍
- 极活跃维护,AUR 提供预编译 gomi-bin

回收站数据无缝迁移:两者都使用 ~/.local/share/Trash/。

- pacman: -trash-cli
- aur: +gomi-bin
- .zshrc: alias rm: trash-put → gomi
2026-04-08 13:21:16 +08:00
2026-03-26 10:43:44 +08:00

Arch Linux 配置仓库

使用 decman 声明式管理 Arch Linux 系统配置。 默认面向 WSL 环境;裸机使用请按需修改 source.py

使用

安装 Arch LinuxWSL

需要 Windows 10/11 并已启用 WSL 2。在 PowerShell 中执行:

wsl --update
wsl --install archlinux

安装完成后,可通过开始菜单的 archlinux 应用或命令 wsl -d archlinux 启动,首次进入默认以 root 身份登录。

WSL 首次启动(默认 root 登录)

  1. 初始化普通用户:
curl -fsSL https://git.furtherverse.com/imbytecat/archlinux-config/raw/branch/main/scripts/wsl-init.sh | bash -s -- <用户名>
  1. 在 PowerShell 中设置默认用户并重启:
wsl --manage archlinux --set-default-user <用户名>
wsl --terminate archlinux
  1. 重新进入 WSL,以普通用户执行:
curl -fsSL https://git.furtherverse.com/imbytecat/archlinux-config/raw/branch/main/scripts/install.sh | bash

非 WSL 环境

直接执行第 3 步。

更新配置

cd ~/.config/archlinux-config && git pull && sudo decman
S
Description
No description provided
Readme 285 KiB
Languages
Python 63.1%
Shell 36.9%