From f89c2071e18c8ea86e303942b70ac0a288bae188 Mon Sep 17 00:00:00 2001 From: nobe4 Date: Tue, 21 May 2024 02:09:18 +0200 Subject: [PATCH] feat: actually show the noop'ing --- internal/config/config.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/internal/config/config.go b/internal/config/config.go index f8a4b2f..e03b2b8 100644 --- a/internal/config/config.go +++ b/internal/config/config.go @@ -1,6 +1,7 @@ package config import ( + "fmt" "log/slog" "os" @@ -65,7 +66,7 @@ func (c *Config) Apply(n notifications.NotificationMap, actors map[string]actors for _, notification := range selectedNotifications { if actor, ok := actors[group.Action]; ok == true { if noop { - slog.Info("NOOP'ing", "action", group.Action, "notification", notification.ToString()) + fmt.Printf("NOOP'ing action %s on notification %s\n", group.Action, notification.ToString()) } else { // Remove the notification temporarily from the list, it // will be added back after the actor runs.