[hyprland] Prevent fractional scaling on X11 apps

This commit is contained in:
seajee
2025-06-14 22:05:13 +02:00
parent 6d012f6155
commit efe8def601

View File

@@ -20,7 +20,7 @@
### MONITORS ### ### MONITORS ###
################ ################
monitor = , preferred, auto, 1 monitor = , preferred, auto, 1.2
################### ###################
@@ -59,6 +59,7 @@ env = QT_AUTO_SCREEN_SCALE_FACTOR,1
env = QT_STYLE_OVERRIDE,kvantum env = QT_STYLE_OVERRIDE,kvantum
env = XDG_MENU_PREFIX,arch- env = XDG_MENU_PREFIX,arch-
##################### #####################
### LOOK AND FEEL ### ### LOOK AND FEEL ###
##################### #####################
@@ -131,6 +132,10 @@ misc {
disable_splash_rendering = true disable_splash_rendering = true
} }
xwayland {
force_zero_scaling = true
}
############# #############
### INPUT ### ### INPUT ###
@@ -253,6 +258,7 @@ bind = $mainMod, L, exec, pidof hyprlock || hyprlock
bind = $mainMod, B, exec, pkill -SIGUSR1 waybar bind = $mainMod, B, exec, pkill -SIGUSR1 waybar
bind = $mainMod, W, exec, pkill waybar || waybar bind = $mainMod, W, exec, pkill waybar || waybar
############################## ##############################
### WINDOWS AND WORKSPACES ### ### WINDOWS AND WORKSPACES ###
############################## ##############################