summaryrefslogtreecommitdiff
path: root/.local/bin/xrdb-set-dpi
diff options
context:
space:
mode:
authorLuke Shumaker <lukeshu@sbcglobal.net>2016-02-27 20:27:29 -0500
committerLuke Shumaker <lukeshu@sbcglobal.net>2016-02-27 20:28:05 -0500
commit285e484ff96c28440b661c4ed3e281a070e97b45 (patch)
tree7d9db9b3d4b6204d82cbd2be902b83189075e61d /.local/bin/xrdb-set-dpi
parent7d9303fc9264af65a1ae9b0073a822e0a2fffe35 (diff)
fix xrdb-set-dpi DISPLAY
Diffstat (limited to '.local/bin/xrdb-set-dpi')
-rwxr-xr-x.local/bin/xrdb-set-dpi2
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}"