From 44ba7a5f02b7575a706a22aac53c8ac608d18f23 Mon Sep 17 00:00:00 2001 From: Ophestra Date: Mon, 29 Sep 2025 06:32:15 +0900 Subject: hst/enablement: move bits from system This is part of the hst API, should not be in the implementation package. Signed-off-by: Ophestra --- cmd/hakurei/command.go | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) (limited to 'cmd') diff --git a/cmd/hakurei/command.go b/cmd/hakurei/command.go index 58e8ace1..5e123f0b 100644 --- a/cmd/hakurei/command.go +++ b/cmd/hakurei/command.go @@ -17,7 +17,6 @@ import ( "hakurei.app/internal" "hakurei.app/internal/app" "hakurei.app/internal/app/state" - "hakurei.app/system" "hakurei.app/system/dbus" ) @@ -128,18 +127,18 @@ func buildCommand(ctx context.Context, msg container.Msg, early *earlyHardeningE config.Home = a } - var e system.Enablement + var e hst.Enablement if flagWayland { - e |= system.EWayland + e |= hst.EWayland } if flagX11 { - e |= system.EX11 + e |= hst.EX11 } if flagDBus { - e |= system.EDBus + e |= hst.EDBus } if flagPulse { - e |= system.EPulse + e |= hst.EPulse } config.Enablements = hst.NewEnablements(e) -- cgit v1.3.1