Config
Config Hyprland
- Sửa file
~/.config/hypr/hyprland.conf(file config chính) và file trong thư mục~/.config/hypr/hyprland(các file trong này được trích vàohyprland.conf).- Hyprland sẽ đọc
hyprland.conf. khi nó thấy từ khóasourcethì nó sẽ trích file được nêu vào rồi đọc tiếp.
- Hyprland sẽ đọc
Bật hiệu ứng blur cho các app
- Trong
~/.config/hypr/hyprland/rules.conf, comment (bằng dấu#) hoặc bỏ dòng sau:
windowrule = noblur,.* # Disables blur for windows. Substantially improves performance.Config AGS
Chỉnh thành phố cho thông tin thời tiết như thế nào?
- Mặc định: nó được phát hiện bằng
curl ipinfo.io. - Bạn có thể chỉnh bằng env var
$AGS_WEATHER_CITY.
Ví dụ bạn ở Hà Nội mà nó không phát hiện đúng thì thêm dòng này vào ~/.config/hypr/env.conf:
env=AGS_WEATHER_CITY, hanoiCác thứ khác
Chỉnh độ to UI/phông chữ thế nào?
Chỉnh cỡ chữ cũng sẽ chỉnh độ to UI.
- Dùng
gsettings:
# Cú phápgsettings set org.gnome.desktop.interface font-name 'FONT_NAME FONT_SIZE'# Mặc định của config nàygsettings set org.gnome.desktop.interface font-name 'Rubik 11'Chỉnh time format như thế nào?
Ghi chú: Bạn có thể cần chạy man date để xem time format
-
Với top bar, chỉnh
~/.config/ags/modules/bar/system.js. Thay đổi"%H:%M"theo mô tả ở đây. -
Màn hình khóa: Thay đổi giá trịtimestrtrong~/.config/swaylock/config.
Cloudflare WARP
- Có thể dùng cái này để truy cập các trang web bị chặn, như Steam :(
- Trên sidebar bên phải sẽ hiện ra nút để bật tắt WARP nếu bạn cài nó
- Để cài, chạy
yay -S cloudflare-warp-bin && sudo systemctl enable warp-svc --now