From da6d238d8a15fa583b384b547decbddcda28ff8b Mon Sep 17 00:00:00 2001 From: Ophestra Umiker Date: Thu, 12 Sep 2024 21:07:05 +0900 Subject: verbose: remove system package interaction Signed-off-by: Ophestra Umiker --- internal/app/wayland.go | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'internal/app/wayland.go') diff --git a/internal/app/wayland.go b/internal/app/wayland.go index 3b0be85f..12568712 100644 --- a/internal/app/wayland.go +++ b/internal/app/wayland.go @@ -8,6 +8,7 @@ import ( "git.ophivana.moe/cat/fortify/internal/acl" "git.ophivana.moe/cat/fortify/internal/state" "git.ophivana.moe/cat/fortify/internal/system" + "git.ophivana.moe/cat/fortify/internal/verbose" ) const ( @@ -30,8 +31,6 @@ func (a *App) ShareWayland() { } else { state.RegisterRevertPath(wp) } - if system.V.Verbose { - fmt.Printf("Wayland socket '%s' configured\n", w) - } + verbose.Printf("Wayland socket '%s' configured\n", w) } } -- cgit v1.3.1