summarylogtreecommitdiffstats
path: root/prunner
blob: ec8bdc1ca81aa268feeea4bb55046f2399d0f21e (plain)
1
2
3
4
5
6
7
8
9
10
11
#!/usr/bin/env sh

userdirs="${XDG_CONFIG_HOME:-~/.config}/user-dirs.dirs"
test -f "$userdirs" && source "$userdirs"
unset userdirs

workdir="${XDG_DOCUMENTS_DIR:-"${HOME}/Documents/PRUNner"}"
test -d "$workdir" || mkdir -p "$workdir"

cd "$workdir"
exec /opt/prunner-bin/PRUNner