From 013bfa64ab37d8570e6164e78c7d0643be140fd6 Mon Sep 17 00:00:00 2001 From: Ivan Malison Date: Mon, 21 Nov 2016 12:40:17 -0600 Subject: [PATCH] [Linux] Fix xsettingsd-setup --- dotfiles/lib/bin/xsettingsd-setup | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/dotfiles/lib/bin/xsettingsd-setup b/dotfiles/lib/bin/xsettingsd-setup index 86b591a8..a2e9bfb6 100755 --- a/dotfiles/lib/bin/xsettingsd-setup +++ b/dotfiles/lib/bin/xsettingsd-setup @@ -21,13 +21,13 @@ echo "Setting dpi to $dpi" cp ~/.xsettingsd ~/.xsettingsd.local echo Xft/DPI $(( $dpi * 1024 )) >> ~/.xsettingsd.local +# # Also use xrdb for very old stuff (you know, LibreOffice) +echo Xft.dpi: "$dpi" | xrdb -merge + # Signal xsettingsd pid=$(xprop -name xsettingsd _NET_WM_PID 2> /dev/null | awk '{print $NF}') if [ x"$pid" = x ]; then - xsettingsd -c ~/.xsettingsd.local & + xsettingsd -c ~/.xsettingsd.local else kill -HUP $pid fi - -# # Also use xrdb for very old stuff (you know, LibreOffice) -echo Xft.dpi: "$dpi" | xrdb -merge