siduck / chadwm

Making dwm as beautiful as possible!
MIT License
2.25k stars 169 forks source link

st does not recognize DPI #174

Closed ethercflow closed 12 months ago

ethercflow commented 12 months ago

Hi, I'm using 4K monitor, I find that the DPI of the top bar is good, but the font size is extremely small when opening st. I tried this:

~/.Xresources
Xft.dpi: 192

! These might also be useful depending on your monitor and personal preference:
Xft.autohint: 0
Xft.lcdfilter:  lcddefault
Xft.hintstyle:  hintfull
Xft.hinting: 1
Xft.antialias: 1
Xft.rgba: rgb

from https://wiki.archlinux.org/title/HiDPI, and I found top bar can correct identification, but st still no change. I'm a newbie Archlinuxer, am I missing something? Thanks a lot.