hypr.zip

开机自启

需写入文件~/.config/hypr/autostart.conf (根据实际情况调整)

# 启动中文输入法
exec-once = fcitx5

# 启动科学上网程序
exec-once = clash-verge

# 启动utools
exec-once = utools

# 启动Notion
exec-once = notion-app

显示器

使用命令:hyprctl monitors 可获取显示器信息,根据官方文档进行配置

**参考:**个人显示器配置文件

# 主屏配置
monitor = DP-2, 3840x2160@165, 0x0, 1.5

# 副屏配置
monitor = DP-3, 3840x2160@60, -2560x0, 1.5

如遇到高分屏部分程序的模糊问题,请安装高分屏支持

// 安装对应的HiDPI版本
paru -S xorg-xwayland-hidpi-xprop wlroots-hidpi-xprop-git hyprland-hidpi-xprop-git  
  
//配置xwayland的DPI
paru -S xorg-xrdb    

XWayland 软件字体大小可能与 wayland 不同,可以编辑 ~/.Xresources 文件:

Xft.dpi: 144 # 决定字体大小,根据实际情况调整
Xft.autohint: 0
Xft.lcdfilter: lcddefault
Xft.hintstyle: hintfull
Xft.hinting: 1
Xft.rgba: rgb

鼠标大小配置

env = XCURSOR_SIZE,40 # 通过XCURSOR配置Xwayland鼠标大小
envd = XCURSOR_SIZE,40 # 通过XCURSOR配置DBUS鼠标大小
exec = gsettings set org.gnome.desktop.interface cursor-size 40 # 通过GNOME配置鼠标大小