From 54a62679574db230fd72a5c7819d5f7715cf17c0 Mon Sep 17 00:00:00 2001
From: 2 * r + 2 * t <61896496+soramanew@users.noreply.github.com>
Date: Sun, 12 Jan 2025 23:00:18 +1100
Subject: notification popups

---
 modules/bar.tsx | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

(limited to 'modules/bar.tsx')

diff --git a/modules/bar.tsx b/modules/bar.tsx
index 1db5e82..b7ffb56 100644
--- a/modules/bar.tsx
+++ b/modules/bar.tsx
@@ -90,7 +90,7 @@ const MediaPlaying = () => {
             <label
                 setup={self =>
                     players.hookLastPlayer(self, ["notify::title", "notify::artist"], () => {
-                        self.label = getLabel("No media");
+                        self.label = ellipsize(getLabel("No media")); // TODO: scroll text
                     })
                 }
             />
@@ -263,7 +263,6 @@ export default ({ monitor }: { monitor: AstalHyprland.Monitor }) => (
         monitor={monitor.id}
         anchor={Astal.WindowAnchor.TOP}
         exclusivity={Astal.Exclusivity.EXCLUSIVE}
-        visible
     >
         <centerbox className="bar" css={"min-width: " + monitor.width * 0.8 + "px;"}>
             <box halign={Gtk.Align.START}>
-- 
cgit v1.2.3-freya

