.\" -*-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