diff options
| author | Ophestra <cat@gensokyo.uk> | 2025-10-07 19:01:18 +0900 |
|---|---|---|
| committer | Ophestra <cat@gensokyo.uk> | 2025-10-07 19:03:51 +0900 |
| commit | d23b4dc9e64d3f00e746c65f3038a1a6de44b8f5 (patch) | |
| tree | 46e7f73bc2b06047561588294759ddb8a71184f2 /hst/hst.go | |
| parent | 3ce63e95d7691450f7b368e639d984a223a764b1 (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 'hst/hst.go')
| -rw-r--r-- | hst/hst.go | 5 |
1 files changed, 2 insertions, 3 deletions
@@ -7,7 +7,6 @@ import ( "os" "hakurei.app/container" - "hakurei.app/system/dbus" ) // An AppError is returned while starting an app according to [hst.Config]. @@ -62,7 +61,7 @@ func Template() *Config { Enablements: NewEnablements(EWayland | EDBus | EPulse), - SessionBus: &dbus.Config{ + SessionBus: &BusConfig{ See: nil, Talk: []string{"org.freedesktop.Notifications", "org.freedesktop.FileManager1", "org.freedesktop.ScreenSaver", "org.freedesktop.secrets", "org.kde.kwalletd5", "org.kde.kwalletd6", "org.gnome.SessionManager"}, @@ -73,7 +72,7 @@ func Template() *Config { Log: false, Filter: true, }, - SystemBus: &dbus.Config{ + SystemBus: &BusConfig{ See: nil, Talk: []string{"org.bluez", "org.freedesktop.Avahi", "org.freedesktop.UPower"}, Own: nil, |
