aboutsummaryrefslogtreecommitdiffhomepage
path: root/cmd
diff options
context:
space:
mode:
authorOphestra <cat@gensokyo.uk>2025-09-29 06:32:15 +0900
committerOphestra <cat@gensokyo.uk>2025-09-29 06:34:29 +0900
commit44ba7a5f02b7575a706a22aac53c8ac608d18f23 (patch)
treec08890b09a42c38bdf24b976421704ce83a74fad /cmd
parentdc467493d8a1461ea321ccf5ca3a2b037f880088 (diff)
hst/enablement: move bits from system
This is part of the hst API, should not be in the implementation package. Signed-off-by: Ophestra <cat@gensokyo.uk>
Diffstat (limited to 'cmd')
-rw-r--r--cmd/hakurei/command.go11
1 files changed, 5 insertions, 6 deletions
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)