From c21168a74181903535c63f49c5a6d3bd2052c883 Mon Sep 17 00:00:00 2001 From: Ophestra Umiker Date: Wed, 16 Oct 2024 14:38:57 +0900 Subject: system: move enablements from state package This removes the unnecessary import of the state package. Signed-off-by: Ophestra Umiker --- internal/system/xhost.go | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'internal/system/xhost.go') diff --git a/internal/system/xhost.go b/internal/system/xhost.go index 2cdddd56..40914756 100644 --- a/internal/system/xhost.go +++ b/internal/system/xhost.go @@ -4,7 +4,6 @@ import ( "fmt" "git.ophivana.moe/cat/fortify/internal/fmsg" - "git.ophivana.moe/cat/fortify/internal/state" "git.ophivana.moe/cat/fortify/internal/verbose" "git.ophivana.moe/cat/fortify/xcb" ) @@ -19,8 +18,8 @@ func (sys *I) ChangeHosts(username string) { type XHost string -func (x XHost) Type() state.Enablement { - return state.EnableX +func (x XHost) Type() Enablement { + return EX11 } func (x XHost) apply(_ *I) error { -- cgit v1.3.1