blob: d52d8b85549d21c7354374a2b75ea774fdefce53 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
#!/usr/bin/env bash
env_file="$HOME/.config/controller-autostart-steam.env"
. $env_file
if [[ -f "$lockfile" ]]; then
echo "lockfile present"
exit 0
fi
touch "$lockfile"
XDG_RUNTIME_DIR=/run/user/$(id -u $USER) systemctl --user start controller-steam.service
|