Commit Graph

10 Commits

Author SHA1 Message Date
00112acf28 xinitrc: load Xdefaults into XRDB only when Xresources is present
This reallows for editing Xdefaults in runtime. This is not supported by
all programs, sadly. nsxiv is one of such programs.
2023-06-20 01:10:58 +00:00
ee215f8eac Fix license years 2023-06-20 01:00:31 +00:00
2ae7b3db3c xinitrc: only call sct if it's present 2022-05-18 14:05:52 +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
50cd17d821 xinitrc: small changes
- sct 3500K
- prefer `if cmd; then ...` to `cmd && ...`
- use different files for stdout and stderr
2021-09-20 22:06:51 +00:00
2a35d39180 xinitrc: remove legacy cruft, add sct back
While there, replace `test` with `[ ... ]`.
2021-01-23 11:28:28 +00:00
79a12e7ff3 xinitrc: map Caps-Lock to compose key 2020-09-20 16:06:22 +00:00
0f6b0e5133 Shell cosmetic changes 2020-08-23 14:48:24 +00:00
3ca9d661dc Adjust repeat rate 2020-01-26 14:54:26 +00:00
3779fdce2c Initial import 2019-09-11 17:44:49 +00:00