diff options
author | V3n3RiX <venerix@koprulu.sector> | 2025-03-11 01:49:36 +0000 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2025-03-11 01:49:36 +0000 |
commit | cf7807d7aea23a99a144afceaba961cfed652b5f (patch) | |
tree | ffd2c781c27e0b7e72152a685a04938a2b7966f0 /gui-apps/foot/files | |
parent | 7c5ebaf83da4c538dd11b56fdd5dfdf39dcbc096 (diff) |
Diffstat (limited to 'gui-apps/foot/files')
-rw-r--r-- | gui-apps/foot/files/foot.initd | 14 |
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 +} |