diff options
author | Luke Shumaker <lukeshu@sbcglobal.net> | 2016-02-27 20:27:29 -0500 |
---|---|---|
committer | Luke Shumaker <lukeshu@sbcglobal.net> | 2016-02-27 20:27:29 -0500 |
commit | c0ef510474c53ffb5b5ad1295f0b5609ef810a92 (patch) | |
tree | e472a023bc66877f8786039a0f47f3dbde95a67c /.local | |
parent | b015c5ba7fd1ca60916a955a91d0dc371d1dd717 (diff) |
fix xrdb-set-dpi DISPLAY
Diffstat (limited to '.local')
-rwxr-xr-x | .local/bin/xrdb-set-dpi | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/.local/bin/xrdb-set-dpi b/.local/bin/xrdb-set-dpi index 2a6b055..d728b91 100755 --- a/.local/bin/xrdb-set-dpi +++ b/.local/bin/xrdb-set-dpi @@ -1,4 +1,4 @@ #!/usr/bin/env bash -dpi=$(LC_ALL=C DISPLAY=:0 xdpyinfo|sed -rn 's/^\s*resolution:\s*(.*) dots per inch$/\1/p') +dpi=$(LC_ALL=C xdpyinfo|sed -rn 's/^\s*resolution:\s*(.*) dots per inch$/\1/p') xrdb -merge <<<"Xft.dpi: ${dpi}" |