-Remove absolute directory ~/lib to make it portable.
-
-
Serialized list of images for faster starting.
#! /bin/sh
-exec "$HOME/lib/xsetbg"/xsetbg-dbus-client.py change
+exec "`dirname \"$0\"`"/xsetbg-dbus-client.py change
#! /bin/sh
-exec "$HOME/lib/xsetbg"/xsetbg-dbus-client.py force
+exec "`dirname \"$0\"`"/xsetbg-dbus-client.py force
#! /bin/sh
-"$HOME/lib/xsetbg"/xsetbg-dbus-stop && exec "$HOME/lib/xsetbg"/xsetbg-dbus-start
+"`dirname \"$0\"`"/xsetbg-dbus-stop && exec "`dirname \"$0\"`"/xsetbg-dbus-start
#! /bin/sh
umask 077
-nice -20 ionice -c3 "$HOME/lib/xsetbg"/xsetbg-dbus.py >/dev/null 2>&1 &
+nice -20 ionice -c3 "`dirname \"$0\"`"/xsetbg-dbus.py >/dev/null 2>&1 &
#! /bin/sh
-exec "$HOME/lib/xsetbg"/xsetbg-dbus-client.py stop
+exec "`dirname \"$0\"`"/xsetbg-dbus-client.py stop
#! /bin/sh
-"$HOME/lib/xsetbg"/xsetbg-http-stop && exec "$HOME/lib/xsetbg"/xsetbg-http-start
+"`dirname \"$0\"`"/xsetbg-http-stop && exec "`dirname \"$0\"`"/xsetbg-http-start
#! /bin/sh
umask 077
-nice -20 ionice -c3 "$HOME/lib/xsetbg"/xsetbg-wsgi.py >/dev/null 2>&1 &
+nice -20 ionice -c3 "`dirname \"$0\"`"/xsetbg-wsgi.py >/dev/null 2>&1 &
#! /bin/sh
# Pinger - ping xsetbg.py every minute
-(cd "$HOME/lib/xsetbg" &&
+(cd "`dirname \"$0\"`" &&
while true; do
sleep 60
./xsetbg-http-change