From 285e484ff96c28440b661c4ed3e281a070e97b45 Mon Sep 17 00:00:00 2001 From: Luke Shumaker Date: Sat, 27 Feb 2016 20:27:29 -0500 Subject: fix xrdb-set-dpi DISPLAY --- .local/bin/xrdb-set-dpi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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}" -- cgit v1.2.3