diff options
| author | 2 * r + 2 * t <61896496+soramanew@users.noreply.github.com> | 2025-01-12 23:00:18 +1100 |
|---|---|---|
| committer | 2 * r + 2 * t <61896496+soramanew@users.noreply.github.com> | 2025-01-12 23:00:18 +1100 |
| commit | 54a62679574db230fd72a5c7819d5f7715cf17c0 (patch) | |
| tree | d8b3761cba53a45179193f1b6c41cf0288bbf126 /modules/bar.tsx | |
| parent | bar (diff) | |
| download | caelestia-shell-54a62679574db230fd72a5c7819d5f7715cf17c0.tar.gz caelestia-shell-54a62679574db230fd72a5c7819d5f7715cf17c0.tar.bz2 caelestia-shell-54a62679574db230fd72a5c7819d5f7715cf17c0.zip | |
notification popups
Diffstat (limited to 'modules/bar.tsx')
| -rw-r--r-- | modules/bar.tsx | 3 |
1 files changed, 1 insertions, 2 deletions
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}> |