Add HiDPI support: Xft Xresources, and xorg monitor dimesions
Signed-off-by: Maarten van Gompel <proycon@anaproy.nl>
This commit is contained in:
parent
39739ae974
commit
890b9bc439
3 changed files with 24 additions and 0 deletions
2
Makefile
2
Makefile
|
@ -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
|
||||
|
|
13
configs/appcfg/xresources_xft.xr
Normal file
13
configs/appcfg/xresources_xft.xr
Normal 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
|
||||
|
9
configs/xorg/90-monitor.conf
Normal file
9
configs/xorg/90-monitor.conf
Normal file
|
@ -0,0 +1,9 @@
|
|||
|
||||
Section "Monitor"
|
||||
|
||||
Identifier "DSI-1"
|
||||
|
||||
# Technically should be: Display 190 381, but this looks better(?)
|
||||
DisplaySize 95 190
|
||||
|
||||
EndSection
|
Loading…
Add table
Add a link
Reference in a new issue