Add HiDPI support: Xft Xresources, and xorg monitor dimesions

Signed-off-by: Maarten van Gompel <proycon@anaproy.nl>
master
tetrakist 3 years ago committed by Maarten van Gompel
parent 39739ae974
commit 890b9bc439
  1. 2
      Makefile
  2. 13
      configs/appcfg/xresources_xft.xr
  3. 9
      configs/xorg/90-monitor.conf

@ -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

@ -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

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