fix: misconfigured QT_AUTO_SCREEN_SCALE_FACTOR

This commit is contained in:
subcrip 2024-05-15 16:18:48 +08:00
parent f8593e1365
commit dba9a4a0f4
Signed by: subcrip
SSH Key Fingerprint: SHA256:dFPFi68d8C87YkFkEBU4TkcrYRySWpekRR1hbnDWUCw
1 changed files with 12 additions and 6 deletions

View File

@ -16,6 +16,7 @@
# See https://wiki.hyprland.org/Configuring/Monitors/
monitor=,preferred,auto,1.25
monitor=HDMI-A-1,preferred,auto,1
xwayland {
force_zero_scaling=true
@ -29,7 +30,7 @@ xwayland {
# Set programs that you use
$terminal = alacritty
$fileManager = dolphin
$fileManager = thunar
$menu = wofi --show drun
@ -44,18 +45,19 @@ $menu = wofi --show drun
# exec-once = nm-applet &
# exec-once = waybar & hyprpaper & firefox
exec-once = dbus-update-activation-environment --systemd WAYLAND_DISPLAY XDG_CURRENT_DESKTOP
exec-once = waybar
exec-once = hyprpaper
exec-once = wl-paste --type text --watch cliphist store
exec-once = wl-paste --type image --watch cliphist store
exec-once = waybar
exec-once = nm-applet
exec-once = sleep 5 && blueman-applet
exec-once = fcitx5 -d --replace
exec-once = dunst
exec-once = /usr/lib/polkit-kde-authentication-agent-1
exec-once = udiskie &
exec-once = clash-verge
exec-once = dhcpcd
exec-once = 1password --silent
exec-once = sleep 5 && 1password --silent
#############################
@ -74,9 +76,9 @@ env = MOZ_ENABLE_WAYLAND,1
# env = GDK_BACKEND,"wayland,x11"
env = QT_QPA_PLATFORM,wayland;xcb
env = QT_QPA_PLATFORMTHEME,qt5ct
env = QT_AUTO_SCREEN_SCALE_FACTOR,1.2
env = QT_SCALE_FACTOR,1.2
env = GDK_DPI_SCALE,1.2
env = QT_AUTO_SCREEN_SCALE_FACTOR,1
# env = QT_SCALE_FACTOR,1.2
# env = GDK_DPI_SCALE,1.2
env = GTK_IM_MODULE,fcitx
env = QT_IM_MODULE,fcitx
env = INPUT_METHOD,fcitx
@ -308,3 +310,7 @@ misc {
force_default_wallpaper=true,
disable_hyprland_logo=false
}
debug {
disable_logs=false
}