From d23b4dc9e64d3f00e746c65f3038a1a6de44b8f5 Mon Sep 17 00:00:00 2001 From: Ophestra Date: Tue, 7 Oct 2025 19:01:18 +0900 Subject: 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 --- cmd/hpkg/app.go | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'cmd/hpkg') 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"` -- cgit v1.3.1