]> git.phdru.name Git - xsetbg.git/blobdiff - xsetbg-start-http-pinger
Remove absolute directory ~/lib to make it portable
[xsetbg.git] / xsetbg-start-http-pinger
index e897fd7576e5d8cab5ebda2e97f2af5c27499785..b04931a3d79c881b7a6719725d9595196e8c5a4d 100755 (executable)
@@ -1,7 +1,7 @@
 #! /bin/sh
 
 # Pinger - ping xsetbg.py every minute
-(cd "$HOME/lib/xsetbg" &&
+(cd "`dirname \"$0\"`" &&
 while true; do
    sleep 60
    ./xsetbg-http-change