mirror of
https://github.com/vincentbernat/i3wm-configuration.git
synced 2025-07-05 07:44:20 +02:00
xsettings: also set Xft.rgba
Emacs with Harfbuzz is not using XSETTINGS for that... There is a code path enabled only with XFT. It seems the settings is ignored by Cairo, despite code for parsing that being here...
This commit is contained in:
parent
d9220045aa
commit
30c8f78f70
1 changed files with 4 additions and 1 deletions
|
@ -29,7 +29,10 @@ dpi=${dpis%% *}
|
|||
dpi=${dpi:-96}
|
||||
|
||||
echo "using ${dpi}dpi" >&2
|
||||
echo Xft.dpi: $dpi | xrdb -merge
|
||||
{
|
||||
echo Xft.dpi: $dpi
|
||||
echo Xft.rgba: $( [ $dpi -gt 144 ] && echo none || echo rgb )
|
||||
} | xrdb -merge
|
||||
xrandr --dpi $dpi
|
||||
|
||||
# Build xsettingsd
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue