From af56e80a3c60e17859ae3b3daa5fc4b44754b667 Mon Sep 17 00:00:00 2001 From: Luke Shumaker Date: Fri, 3 May 2019 15:03:21 -0400 Subject: fix-dpi: Add more comments --- .local/bin/fix-dpi | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.local/bin/fix-dpi b/.local/bin/fix-dpi index 251b0ad..ee0412d 100755 --- a/.local/bin/fix-dpi +++ b/.local/bin/fix-dpi @@ -1,8 +1,12 @@ #!/usr/bin/env bash # Copyright 2019 Luke Shumaker +# +# Adjusts the xrandr 1.2, xrandr 1.3, and xrdb DPI settings according +# to each output's current mode (pixel resolution) and self-reported +# physical dimensions (mm). # env-var: MAX_DPI: integer -# env-var: DRY_RUN: empty/non-empty +# env-var: DRY_RUN: empty=false / non-empty=true ( # Phase 1: Probe outputs export LC_ALL=C -- cgit v1.1-4-g5e80