diff options
author | Luke Shumaker <lukeshu@datawire.io> | 2019-05-03 15:03:21 -0400 |
---|---|---|
committer | Luke Shumaker <lukeshu@datawire.io> | 2019-05-03 15:03:21 -0400 |
commit | af56e80a3c60e17859ae3b3daa5fc4b44754b667 (patch) | |
tree | ea97bd6bd9ac0a33b3831cef1eda8b3ba116a6ef /.local/bin | |
parent | 80c80d364563dbdcc789d2ddf68f1fd909dfd5a3 (diff) |
fix-dpi: Add more comments
Diffstat (limited to '.local/bin')
-rwxr-xr-x | .local/bin/fix-dpi | 6 |
1 files changed, 5 insertions, 1 deletions
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 |