Arch Linux 环境配置
Basic
pacman
1 | sudo pacman -Syu nvm fvm jenv pyenv android-tools net-tools tree bat fastfetch curl neovim vim ghostty fcitx5-im fcitx5-rime ttf-jetbrains-mono-nerd wl-clipboard cliphist tmux ripgrep btop zram-generator p7zip reflector jq imv mpv ffmpegthumbnailer gst-plugins-base gst-plugins-good gst-libav ddcutil --needed base-devel --noconfirm |
yay
1 | mkdir -p ~/develop/github/ && mkdir -p ~/develop/work/ && mkdir -p ~/deveop/agents/ && git clone https://aur.archlinux.org/yay.git ~/develop/github/yay/ && cd ~/develop/github/yay/ && makepkg -si && rm -rf ~/develop/github/yay/ |
1 | yay -Syu rime-ice-git ttf-jetbrains-maple-mono-nf-xx-xx visual-studio-code-bin aliyun-adrive-bin clash-verge-rev-bin linuxqq-clipsync-git--noconfirm |
memory(zram 8g | swap 10g)
1 | echo -e "[zram0]\nzram-size = min(ram, 8192)\ncompression-algorithm = zstd" | sudo tee /etc/systemd/zram-generator.conf |
Brigness
1 | sudo modprobe i2c_dev |
Niri
1 | curl -L https://github.com/crowforkotlin/BreezeX_Cursor/releases/download/1.0/BreezeX-Dark.tar.xz -o /tmp/BreezeX-Dark.tar.xz && tar -xf /tmp/BreezeX-Dark.tar.xz -C /tmp && mkdir -p ~/.local/share/icons && cp -r /tmp/BreezeX-Dark ~/.local/share/icons/ && rm /tmp/BreezeX-Dark.tar.xz && rm -rf /tmp/BreezeX-Dark |
1 | include "dms/custom/index.kdl" |
1 | ```shell |
1 | include "config.kdl" |
1 | ~/.config/niri/dms/custom/cursor.dms |
1 | cursor { |
1 | nvim ~/.config/niri/dms/custom/binds.kdl |
1 | binds { |
1 | nvim ~/.config/niri/dms/custom/layout.kdl |
1 | layout { |
1 | nvim ~/.config/niri/dms/custom/windowrules.kdl |
1 | // ... |
Fcitx5
1 | nvim ~/.config/fcitx5/conf/classicui.conf |
1 | # Set Icon -> symbol |
本博客所有文章除特别声明外,均采用 CC BY-NC-SA 4.0 许可协议。转载请注明来源 crowforkotlin!
评论

