mirror of
https://github.com/donovanglover/nix-config.git
synced 2024-11-15 12:54:15 +01:00
archlinux: Add make fontconfig target
fontconfig is used to maximize the visual appearance of fonts.
This commit is contained in:
parent
613d21a099
commit
9ddd20f348
@ -19,6 +19,16 @@ update-keys:
|
||||
@sudo pacman-key --populate
|
||||
@sudo pacman-key --refresh-keys
|
||||
|
||||
# https://old.reddit.com/r/archlinux/comments/5r5ep8
|
||||
# 1. Disable bitmap fonts (not scalable for modern HiDPI displays)
|
||||
# 2. Enable sub-pixel RGB rendering
|
||||
# 3. Enable the LCD filter (reduces color fringing)
|
||||
.PHONY: fontconfig
|
||||
fontconfig:
|
||||
@sudo ln -sf /etc/fonts/conf.avail/70-no-bitmaps.conf /etc/fonts/conf.d
|
||||
@sudo ln -sf /etc/fonts/conf.avail/10-sub-pixel-rgb.conf /etc/fonts/conf.d
|
||||
@sudo ln -sf /etc/fonts/conf.avail/11-lcdfilter-default.conf /etc/fonts/conf.d
|
||||
|
||||
.PHONY: clean
|
||||
clean:
|
||||
@rm -fv **/*.pkg.tar.xz
|
||||
|
Loading…
Reference in New Issue
Block a user