mirror of
https://github.com/vincentbernat/i3wm-configuration.git
synced 2025-07-01 05:44:20 +02:00
xsession: make QT HiDPI work with fractional settings
Passthrough is the default rouding policy in Qt 6 but not Qt 5.
This commit is contained in:
parent
402c8711eb
commit
25f645325c
1 changed files with 3 additions and 1 deletions
|
@ -10,8 +10,10 @@ export GTK2_RC_FILES=$HOME/.gtkrc-2.0
|
|||
# We do not want to rely on crappy mailcap
|
||||
export MAILCAPS=$HOME/.mailcap
|
||||
|
||||
# QT theme
|
||||
# Qt HiDPI (https://doc.qt.io/qt-6/highdpi.html)
|
||||
export QT_AUTO_SCREEN_SCALE_FACTOR=1
|
||||
export QT_SCALE_FACTOR_ROUNDING_POLICY=PassThrough
|
||||
# Qt theme
|
||||
export QT_QPA_PLATFORMTHEME=qt5ct
|
||||
|
||||
# GTK3 apps try to contact org.a11y.Bus. Disable that.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue