read custom conky.conf if available

Signed-off-by: Miles Alan <m@milesalan.com>
This commit is contained in:
Maarten van Gompel 2020-06-26 23:27:17 +02:00 committed by Miles Alan
parent 46a8999e0f
commit e455d31e55

View file

@ -15,11 +15,13 @@ xset s off -dpms
xrdb /usr/share/sxmo/xresources_xcalc.xr
synclient TapButton1=1 TapButton2=3 TapButton3=2 MinSpeed=0.25
# Kill old hanging daemons
pkill conky
# Start daemons
conky -c /usr/share/sxmo/conky.conf -d
pkill conky
if [ -e "$XDG_CONFIG_HOME/sxmo/conky.conf" ]; then
conky -c $XDG_CONFIG_HOME/sxmo/conky.conf -d
else
conky -c /usr/share/sxmo/conky.conf -d
fi
keynav &
autocutsel &
autocutsel -selection PRIMARY &