From 4ffeec3004607b76f73e504da220a1490c598348 Mon Sep 17 00:00:00 2001 From: Ophestra Date: Fri, 15 Aug 2025 04:57:37 +0900 Subject: hst/enablement: editor friendly enablement adaptor Having the bit field value here (in decimal, no less) is unfriendly to text editors. Use a bunch of booleans here to improve ease of use. Signed-off-by: Ophestra --- hst/template.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'hst/template.go') diff --git a/hst/template.go b/hst/template.go index 82e0b7d9..ea27fbb4 100644 --- a/hst/template.go +++ b/hst/template.go @@ -21,7 +21,7 @@ func Template() *Config { "--ozone-platform=wayland", }, - Enablements: system.EWayland | system.EDBus | system.EPulse, + Enablements: NewEnablements(system.EWayland | system.EDBus | system.EPulse), SessionBus: &dbus.Config{ See: nil, -- cgit v1.3.1