X-Git-Url: https://git.xandkar.net/?a=blobdiff_plain;f=home%2Flib%2Flogin_variables_dpi_high.sh;fp=home%2Flib%2Flogin_variables_dpi_high.sh;h=afbe76392db0502c5deb3e3f0178bc23c0d8519d;hb=11c1919dd87694aea4b6bf73ea7de58c1e0a586a;hp=0000000000000000000000000000000000000000;hpb=315a47e22b8dce9fd50416d95bf36cadf31d3348;p=khome.git diff --git a/home/lib/login_variables_dpi_high.sh b/home/lib/login_variables_dpi_high.sh new file mode 100644 index 0000000..afbe763 --- /dev/null +++ b/home/lib/login_variables_dpi_high.sh @@ -0,0 +1,10 @@ +# GDK 3 (GTK 3) +# https://wiki.archlinux.org/index.php/HiDPI#GDK_3_(GTK_3) +export GDK_SCALE=2 + +# QT +# https://wiki.archlinux.org/index.php/HiDPI#Qt_5 +# https://doc.qt.io/qt-5/highdpi.html +# https://blog.qt.io/blog/2016/01/26/high-dpi-support-in-qt-5-6/ +#export QT_SCALE_FACTOR=2 # Causes qutebrowser UI fonts to have large gaps. +export QT_FONT_DPI=192 # Scales qutebrowser UI fonts as expected.