From eba34209ae2ed40d3b7a4392502dacbdd808d9d6 Mon Sep 17 00:00:00 2001 From: Snider Date: Wed, 15 Apr 2026 20:06:26 +0100 Subject: [PATCH] Add theme query display websocket commands --- pkg/display/display.go | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/pkg/display/display.go b/pkg/display/display.go index 92d98a0a..e26f9fd9 100644 --- a/pkg/display/display.go +++ b/pkg/display/display.go @@ -590,6 +590,10 @@ func (s *Service) handleWSMessage(msg WSMessage) core.Result { return c.QUERY(notification.QueryPermission{}) case "notification:with-actions": return c.Action("notification.send").Run(ctx, wsOptions(msg.Data)) + case "theme:get": + return c.QUERY(environment.QueryTheme{}) + case "theme:system": + return c.QUERY(environment.QueryInfo{}) case "theme:set": theme, _ := msg.Data["theme"].(string) return c.Action("environment.setTheme").Run(ctx, core.NewOptions(