From b30a00e7e3b2eb9d39aa29729a7da7cdc974cacc Mon Sep 17 00:00:00 2001 From: Vincent Bernat Date: Wed, 17 Sep 2014 18:02:03 +0200 Subject: [PATCH] xsettings: fix invocation of xsettings --- bin/xsettingsd-setup | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/bin/xsettingsd-setup b/bin/xsettingsd-setup index 57b0462..9be60da 100755 --- a/bin/xsettingsd-setup +++ b/bin/xsettingsd-setup @@ -7,8 +7,8 @@ echo Xft/DPI $(( $(xdpyinfo | \ # Signal xsettingsd pid=$(xprop -name xsettingsd _NET_WM_PID 2> /dev/null | awk '{print $NF}') -if [ -n $pid ]; then - kill -HUP $pid -else +if [ x"$pid" = x ]; then xsettingsd -c ~/.config/awesome/xsettingsd.local & +else + kill -HUP $pid fi