getdpi

command
v0.0.0-...-389cf96 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 3, 2024 License: BSD-3-Clause Imports: 4 Imported by: 0

README

getdpi

Tool for retrieving the average DPI across all monitors, regardless of if X or Wayland is in use.

Building getdpi

go build

Usage

Retrieve the average DPI as a pair of numbers (ie. 96x96):

getdpi -b

Retrieve the average DPI as a single number (ie. 96):

getdpi

Version information:

getdpi --version

Listing DPI per monitor

The lsmon utility supports listing monitor resolutions and DPI with the -dpi flag.

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL