.\" -*-Nroff-*- .\" .TH "getdpi" 1 "04 Jun 2026" "getdpi" "User Commands" .SH NAME getdpi \- get the average horizontal DPI .SH SYNOPSIS .B getdpi Display the average DPI of all connected monitors. .sp .SH DESCRIPTION getdpi can fetch information about all connected monitors, for X or Wayland, and return the average DPI (dots per inch). .sp .SH OPTIONS .sp .TP .B \-a, \-l or \-\-all Output DPI information for all available monitors. .TP .B \-b or \-\-both Output both the horizontal and vertical average DPI. .TP .B \-V or \-\-version Show the current version. .PP .SH VERSION 5.14.3 .SH AUTHOR .B getdpi was written by Alexander F. Rødseth