configs/arch-config/per-device/lupusregina
2023-05-31 20:39:07 +02:00
..
10-monitor.conf Set exact size for 120 dpi and add how to find it 2023-05-31 20:39:07 +02:00
20-amdgpu.conf Enable per-device configuration for some settings where necessary 2023-05-30 16:46:01 +02:00
polybar-dpi-override.ini Set DPI ~120 2023-05-31 20:28:03 +02:00
README.md Set exact size for 120 dpi and add how to find it 2023-05-31 20:39:07 +02:00
xresources-dpi-override Set DPI ~120 2023-05-31 20:28:03 +02:00

This host requires additional considerations, as it is using a 1440p display.

The following parts are modified:

  • Polybar (.config/polybar/i3config.ini)
  • Xresources (.Xresources)
  • X11 (/etc/X11/xorg.conf.d/ new files)

Calculate Monitor size for desired DPI

To get the exact monitor size xorg wants for a target dpi, execute this command.

xrandr --dpi [DPI]

Querying the set dpi now yields the exact monitor size you'd want to set.

$> xdpyinfo | grep -B 2 resolution
screen #0:
  dimensions:    2560x1440 pixels (541x304 millimeters)
  resolution:    120x120 dots per inch