aboutsummaryrefslogtreecommitdiffstats
path: root/internal/notify/control.go
diff options
context:
space:
mode:
Diffstat (limited to 'internal/notify/control.go')
-rw-r--r--internal/notify/control.go7
1 files changed, 7 insertions, 0 deletions
diff --git a/internal/notify/control.go b/internal/notify/control.go
index a42a14b..85c4d74 100644
--- a/internal/notify/control.go
+++ b/internal/notify/control.go
@@ -53,3 +53,10 @@ func (c *control) ClearHistory() *dbus.Error {
c.svc.store.ClearHistory()
return nil
}
+
+// Reload re-reads ~/.config/notifyd/config.json. The settings page calls it
+// after a save; a bad file is logged and read as defaults, never an error.
+func (c *control) Reload() *dbus.Error {
+ c.svc.reload()
+ return nil
+}