From eb22a8bcc1ac03357d4073e5d3ed6d0ab5246a37 Mon Sep 17 00:00:00 2001 From: Ophestra Date: Wed, 2 Jul 2025 20:42:51 +0900 Subject: cmd/hakurei: move to cmd Having it at the project root never made sense since the "ego" name was deprecated. This change finally addresses it. Signed-off-by: Ophestra --- hst/paths.go | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 hst/paths.go (limited to 'hst') diff --git a/hst/paths.go b/hst/paths.go new file mode 100644 index 00000000..31c14df2 --- /dev/null +++ b/hst/paths.go @@ -0,0 +1,11 @@ +package hst + +// Paths contains environment-dependent paths used by hakurei. +type Paths struct { + // path to shared directory (usually `/tmp/hakurei.%d`) + SharePath string `json:"share_path"` + // XDG_RUNTIME_DIR value (usually `/run/user/%d`) + RuntimePath string `json:"runtime_path"` + // application runtime directory (usually `/run/user/%d/hakurei`) + RunDirPath string `json:"run_dir_path"` +} -- cgit v1.3.1