aboutsummaryrefslogtreecommitdiffhomepage
path: root/cmd/hpkg
diff options
context:
space:
mode:
authorOphestra <cat@gensokyo.uk>2025-10-07 19:01:18 +0900
committerOphestra <cat@gensokyo.uk>2025-10-07 19:03:51 +0900
commitd23b4dc9e64d3f00e746c65f3038a1a6de44b8f5 (patch)
tree46e7f73bc2b06047561588294759ddb8a71184f2 /cmd/hpkg
parent3ce63e95d7691450f7b368e639d984a223a764b1 (diff)
hst/dbus: move dbus config struct
This allows holding a xdg-dbus-proxy configuration without importing system/dbus. It also makes more sense in the project structure since the config struct is part of the hst API however the rest of the implementation is not. Signed-off-by: Ophestra <cat@gensokyo.uk>
Diffstat (limited to 'cmd/hpkg')
-rw-r--r--cmd/hpkg/app.go5
1 files changed, 2 insertions, 3 deletions
diff --git a/cmd/hpkg/app.go b/cmd/hpkg/app.go
index a4910aae..da1fd301 100644
--- a/cmd/hpkg/app.go
+++ b/cmd/hpkg/app.go
@@ -7,7 +7,6 @@ import (
"hakurei.app/container"
"hakurei.app/hst"
- "hakurei.app/system/dbus"
)
type appInfo struct {
@@ -37,9 +36,9 @@ type appInfo struct {
// passed through to [hst.Config]
DirectWayland bool `json:"direct_wayland,omitempty"`
// passed through to [hst.Config]
- SystemBus *dbus.Config `json:"system_bus,omitempty"`
+ SystemBus *hst.BusConfig `json:"system_bus,omitempty"`
// passed through to [hst.Config]
- SessionBus *dbus.Config `json:"session_bus,omitempty"`
+ SessionBus *hst.BusConfig `json:"session_bus,omitempty"`
// passed through to [hst.Config]
Enablements *hst.Enablements `json:"enablements,omitempty"`