Commit Graph

4 Commits

Author SHA1 Message Date
49d068aad3 Add empty IFS for single var reads 2024-02-05 16:06:50 +00:00
19049d2472 color-hash.ksh: small improvements
Don't set color and return the index instead. This allows also using it
for background. Sprinkle a couple of '-nr --' for 'print' calls. Add the
fnv1 variant.
2023-10-24 19:51:20 +00:00
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