summaryrefslogtreecommitdiff
path: root/gui-apps/foot/files
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2025-03-11 01:49:36 +0000
committerV3n3RiX <venerix@koprulu.sector>2025-03-11 01:49:36 +0000
commitcf7807d7aea23a99a144afceaba961cfed652b5f (patch)
treeffd2c781c27e0b7e72152a685a04938a2b7966f0 /gui-apps/foot/files
parent7c5ebaf83da4c538dd11b56fdd5dfdf39dcbc096 (diff)
gentoo auto-resync : 11:03:2025 - 01:49:36HEADmaster
Diffstat (limited to 'gui-apps/foot/files')
-rw-r--r--gui-apps/foot/files/foot.initd14
1 files changed, 14 insertions, 0 deletions
diff --git a/gui-apps/foot/files/foot.initd b/gui-apps/foot/files/foot.initd
new file mode 100644
index 000000000000..458618e8d006
--- /dev/null
+++ b/gui-apps/foot/files/foot.initd
@@ -0,0 +1,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
+}