summarylogtreecommitdiffstats
path: root/apriltag-trackers.sh
blob: 13e87c9b38ab87e54109e671e30b08391ce207c6 (plain)
1
2
3
4
5
6
7
8
9
#!/bin/sh

CONFIG="${XDG_CONFIG_HOME:=$HOME/.config}/apriltag-trackers/"
mkdir -p $CONFIG

[ ! -L "$CONFIG/bindings" ] && ln -s "/usr/share/apriltagtrackers/bindings/$1" "$CONFIG/"

cd $CONFIG
exec /usr/lib/apriltagtrackers/AprilTagTrackers