From 80017cbeb91c37865f02b160c91f54d4b4fba39c Mon Sep 17 00:00:00 2001
From: 2 * r + 2 * t <61896496+soramanew@users.noreply.github.com>
Date: Sun, 13 Apr 2025 23:11:12 +1000
Subject: navbar: add mediadisplay toggle

Also better error message for visualiser
---
 src/modules/mediadisplay/visualiser.tsx | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

(limited to 'src/modules/mediadisplay/visualiser.tsx')

diff --git a/src/modules/mediadisplay/visualiser.tsx b/src/modules/mediadisplay/visualiser.tsx
index fa1adc6..9eacd44 100644
--- a/src/modules/mediadisplay/visualiser.tsx
+++ b/src/modules/mediadisplay/visualiser.tsx
@@ -33,7 +33,7 @@ export default () => (
                     // Show error text if cava unavailable
                     const fg = self.get_style_context().get_color(Gtk.StateFlags.NORMAL);
                     cr.setSourceRGBA(fg.red, fg.green, fg.blue, fg.alpha);
-                    const layout = self.create_pango_layout("Visualiser unavailable");
+                    const layout = self.create_pango_layout("Visualiser module requires Cava");
                     const [w, h] = layout.get_pixel_size();
                     cr.moveTo((width - w) / 2, (height - h) / 2);
                     cr.setAntialias(cairo.Antialias.BEST);
-- 
cgit v1.2.3-freya

