You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
export GDK_DPI_SCALE=\$(echo "\${scale_factor} / \${GDK_SCALE}" | bc -l)
15
24
16
-
if [ "\$(echo "\${QT_SCALE_FACTOR} >= 2" | bc -l)" -eq 1 ]; then
25
+
if [ "\$(echo "\${scale_factor} >= 2" | bc -l)" -eq 1 ]; then
17
26
export XCURSOR_SIZE=64
18
-
elif [ "\$(echo "\${QT_SCALE_FACTOR} >= 1.5" | bc -l)" -eq 1 ]; then
27
+
elif [ "\$(echo "\${scale_factor} >= 1.5" | bc -l)" -eq 1 ]; then
19
28
export XCURSOR_SIZE=32
20
29
else
21
30
export XCURSOR_SIZE=16
22
31
fi
23
32
33
+
unset scale_factor
34
+
24
35
EOF
25
36
37
+
# add_fish_support 'hidpi' # not working with bass
26
38
27
39
message --title "HiDPI" --msgbox "HiDPI has been adjusted to $(echo "${scale_factor} * 100 / 1"| bc)%. If you change your resolution run this option again to update your Linux applications." 10 80
0 commit comments