aboutsummaryrefslogtreecommitdiffhomepage
path: root/internal/app/wayland.go
diff options
context:
space:
mode:
authorOphestra Umiker <cat@ophivana.moe>2024-09-12 21:07:05 +0900
committerOphestra Umiker <cat@ophivana.moe>2024-09-12 21:07:05 +0900
commitda6d238d8a15fa583b384b547decbddcda28ff8b (patch)
treee0f8b1364fa09e5a5ec7a1d0e86d13c475cde3eb /internal/app/wayland.go
parentb0aff891661dfa2f438a7264607a4e6e9caef026 (diff)
verbose: remove system package interaction
Signed-off-by: Ophestra Umiker <cat@ophivana.moe>
Diffstat (limited to 'internal/app/wayland.go')
-rw-r--r--internal/app/wayland.go5
1 files changed, 2 insertions, 3 deletions
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)
}
}