blob: 458618e8d00688aa7bde3d082f63411ee38b9816 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
#!/sbin/openrc-run
description="Foot terminal server mode"
supervisor=supervise-daemon
command="/usr/bin/foot"
command_args="--server"
start_pre() {
if [ -z "$WAYLAND_DISPLAY" ]; then
eerror "$WAYLAND_DISPLAY unset, can't proceed."
return 1
fi
}
|