Skip to content

Latest commit

 

History

History
190 lines (124 loc) · 3.92 KB

README.zh.md

File metadata and controls

190 lines (124 loc) · 3.92 KB

个人配置

English | 中文

Themes

hyde_banner


wallbash_720p.mp4


在 Archlinux 上可以拥有与本人一致的体验

Desktop Environment(Native Wayland)

在 Archlinux 上安装包(需要 aur):

一些工具可以通过cargo/pip/npm等工具来安装。

  1. shell
yay -S zsh eza rsync bat starship htop
chsh -s /bin/zsh
  1. fonts

Download fonts from here: MapleMono-NF-CN.zip

wget https://github.com/subframe7536/maple-font/releases/latest/download/MapleMono-NF-CN-unhinted.zip   # screen > 1080p
wget https://github.com/subframe7536/maple-font/releases/latest/download/MapleMono-NF-CN.zip            # screen <= 1080p
unzip MapleMono-NF-CN.zip -d MapleFont
sudo cp -r MapleFont /usr/share/fonts
sudo fc-cache -fv
  1. utils
yay -S qt5-wayland qt6-wayland
  1. hypr
yay -S dunst libnotify hyprland rofi-wayland waybar swww swaylock-effects wlogout grimblast-git cliphist pipewire-pulse swappy hyde-cli-git wf-recorder
  1. dependency
yay -S polkit-gnome xdg-desktop-portal-hyprland parallel imagemagick qt5-imageformats brightnessctl pavucontrol pamixer pacman-contrib
  1. theme
yay -S nwg-look kvantum qt5ct qt6ct
  1. apps
yay -S google-chrome/firefox/zen-browser kitty fastfetch neovim fcitx5
  1. others
pip install hyprshade

如果使用amdgpu,可以安装:

pip install pyamdgpuinfo

初始化

  1. 安装上面所有的包。
  2. 运行 ./config.sh install, 它会初始化环境变量,并且创建软链。
  3. 运行 chsh -s /bin/zsh, 切换终端.
  4. 重新登录并且运行 startde w.
  5. 运行./init.sh脚本,它会初始化环境变量并且释放资源。
  6. 如果在运行过程中发现在家目录有冲突文件,请手动删除它,然后运行:./config.sh install

Important

运行./init.sh脚本会自动运行./config.sh install,该脚本会删除您的~/.bashrc文件,请在运行前备份好它!

运行

在 tty 中执行startde w

更新

./config.sh uninstall
git pull --rebase
./config.sh install

卸载

非常简单的删除初始化过程中创建的符号,只需要运行:./config.sh uninstall

编辑器 (Neovim)

开发环境 (Neovim 配置依赖)

安装包:

yay -S python fnm

初始化 python:

python -m venv ~/.python_venv

Python 新版本升级时,可用命令升级:

python -m venv --upgrade ~/.python_venv

安装 nodejs:

fnm install <version/--latest> --node-dist-mirror=https://npmmirror.com/mirrors/node
fnm default <version>

安装 rust:

curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | RUSTUP_DIST_SERVER=https://mirrors.tuna.tsinghua.edu.cn/rustup sh

更新 rust:

rustup update stable

重启终端以应用的环境变量,使用./config.sh install脚本会自动使用国内源:

pipnpm只是 neovim 基本的环境配置,强烈建议跑完 lua 的配置后使用:checkhealth命令查看哪些命令未安装,可继续使用相应的包管理进行安装!

安装 neovim 配置

默认使用 ssh 协议,如果使用 http 协议,需要修改.gitmodules文件,设置url为:

https://github.com/groveer/nvvim.git

更新 git 子模块:

git submodule update --init

Thanks to

  1. hyprdots:主题来源于这里!