
Installing and Experiencing a Dynamic Tiling Compositor
The convenience of AUR makes it hard for me to quit ArchLinux, really, once you’ve used it, you’ll know. With Wayland maturing, Hyprland’s logic and animations are quite appealing. Since I have some time now, let’s get started.
Installing ArchLinux
For those who like to do it themselves, you can refer to the official wiki or check out this guide:
Of course, I’m lazy, so I’ll use a script (I can’t live without archinstall).
Enable WiFi Device
rfkill unblock wifi
Connect to the Network
iwctl
station wlan0 connect WiFi名
quit
Installation
archinstall
Configure Bootloader
grub-install --target=x86_64-efi --efi-directory=/boot --bootloader-id=GRUB
Generate Configuration File
grub-mkconfig -o /boot/grub/grub.cfg
Finish
exit
reboot
Add CN Software Sources
sudo vim /etc/pacman.conf
Add
[archlinuxcn]
Server = https://mirrors.ustc.edu.cn/archlinuxcn/$arch
Import GPG key
Manually add trust
sudo pacman-key --lsign-key "farseerfc@archlinux.org"
Install the archlinuxcn-keyring
sudo pacman -S archlinuxcn-keyring
Install yay
sudo pacman -S yay
Install Hyprland
There’s a GitHub theme with over a thousand stars, and it comes with an installation script, so of course I cloned it and used it directly.
pacman -Sy git
git clone --depth 1 https://github.com/prasanthrangan/hyprdots ~/Hyprdots
cd ~/Hyprdots/Scripts
./install.sh
sddm High DPI Screen Adaptation
Check monitor information
xrandr --listmonitors
Set the screen resolution after scaling
sudo vim /usr/share/sddm/scripts/Xsetup
Add
xrandr --output eDP-1 --mode 1920x1080
Localization
Install Chinese fonts
yay -S ttf-pingfang-git ttf-apple-emoji
Install RIME input method
sudo pacman -S fcitx5-im fcitx5-chinese-addons fcitx5-rime
Customize the theme
git clone https://github.com/thep0y/fcitx5-themes.git
cd fcitx5-themes
cp macOS-light ~/.local/share/fcitx5/themes -r
Modify the configuration file
vim ~/.config/fcitx5/conf/classicui.conf
Add
Vertical Candidate List=False
PerScreenDPI=True
Font="PingFang 10"
Theme=macOS-light
Configure global locale
sudo vim /etc/locale.conf
Add
LANG=zh_CN.UTF-8
Prevent TTY garbled characters
sudo vim ~/.bashrc
Add
eval "$(starship init bash)"
if test -z $(tty | grep pts); then
export LANG=en_US.UTF-8
fi
Add Windows Boot Entry to GRUB
Modify the GRUB file
sudo vim /etc/default/grub
Uncomment the line GRUB_DISABLE_OS_PROBER=false
Check partition information
sudo fdisk -l
Mount the EFI partition
sudo mount /dev/nvme0n1p1 /mnt/
Backup the GRUB configuration file
sudo cp /boot/grub/grub.cfg /boot/grub/grub.cfg.bak
Output all boot entries
sudo os-prober
Regenerate the GRUB configuration file
sudo grub-mkconfig -o /boot/grub/grub.cfg
Summary
The combination of tiling and Bézier curves creates an elegant visual experience, a kind of delight that can only be felt subjectively. I picked a theme I liked and used it directly. The beauty of Hyprland lies in its high customizability—refer to the wiki, and you can craft whatever you want.









