read custom conky.conf if available

Signed-off-by: Miles Alan <m@milesalan.com>
master
Maarten van Gompel 5 years ago committed by Miles Alan
parent 46a8999e0f
commit e455d31e55
  1. 10
      scripts/core/sxmo_xinit.sh

@ -15,11 +15,13 @@ xset s off -dpms
xrdb /usr/share/sxmo/xresources_xcalc.xr xrdb /usr/share/sxmo/xresources_xcalc.xr
synclient TapButton1=1 TapButton2=3 TapButton3=2 MinSpeed=0.25 synclient TapButton1=1 TapButton2=3 TapButton3=2 MinSpeed=0.25
# Kill old hanging daemons
pkill conky
# Start daemons # 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 & keynav &
autocutsel & autocutsel &
autocutsel -selection PRIMARY & autocutsel -selection PRIMARY &

Loading…
Cancel
Save