Add HiDPI support: Xft Xresources, and xorg monitor dimesions

Signed-off-by: Maarten van Gompel <proycon@anaproy.nl>
This commit is contained in:
tetrakist 2021-03-09 14:31:24 -08:00 committed by Maarten van Gompel
parent 39739ae974
commit 890b9bc439
3 changed files with 24 additions and 0 deletions

View file

@ -48,6 +48,8 @@ install: $(PROGRAMS)
install -D -m 0644 -t $(DESTDIR)$(PREFIX)/share/applications/ configs/xdg/mimeapps.list
install -D -m 0644 -T configs/xorg/monitor.conf $(DESTDIR)$(PREFIX)/share/X11/xorg.conf.d/90-monitor.conf
mkdir -p $(DESTDIR)/etc/NetworkManager/dispatcher.d
install -D -m 0755 -T configs/networkmanager/updatestatusbar.sh $(DESTDIR)/etc/NetworkManager/dispatcher.d/10-updatestatusbar.sh
install -D -m 0755 -T configs/networkmanager/resetscaninterval.sh $(DESTDIR)/etc/NetworkManager/dispatcher.d/20-resetscaninterval.sh

View file

@ -0,0 +1,13 @@
! Xresource settings for HiDPI font support with Xft
Xft.dpi: 192
Xft.antialias: true
Xft.rgba: rgb
Xft.hinting: true
Xft.hintstyle: hintslight

View file

@ -0,0 +1,9 @@
Section "Monitor"
Identifier "DSI-1"
# Technically should be: Display 190 381, but this looks better(?)
DisplaySize 95 190
EndSection