Commit Graph

2 Commits

Author SHA1 Message Date
a1a25aa80a x-dpi-facesizes.sh: support an optional paramter 2022-06-22 01:01:59 +00:00
9f0e7a0c12 Xdefaults, xinitrc: dynamically calculate font size
Recent changes in OpenBSD made my laptops share different (althought
correctly calculated) DPIs. Add an script and rework X resources loading
so:

 1. load ~/.Xdefaults into xrdb for baseline
 2. run the script to compute a DPI and xterm's faceSize so it respects
    some values previously defined in this repo

As an upside, now XTerm.VT100.faceSize can be queried, so use that in
hlwm theme.
2022-05-17 03:14:19 +00:00