aboutsummaryrefslogtreecommitdiffhomepage
path: root/hst/paths.go
blob: 31c14df2330ddef0a1032d1d7e8d30e87e947279 (plain)
1
2
3
4
5
6
7
8
9
10
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"`
}