From 0b771cbd1bfccdcbf4cbaabfed13eece4a2e8929 Mon Sep 17 00:00:00 2001
From: 2 * r + 2 * t <61896496+soramanew@users.noreply.github.com>
Date: Tue, 18 Feb 2025 22:34:13 +1100
Subject: bar: vertical mode
---
src/modules/bar.tsx | 58 +++++++++++++++++++++++++++++++++++------------------
1 file changed, 38 insertions(+), 20 deletions(-)
(limited to 'src/modules')
diff --git a/src/modules/bar.tsx b/src/modules/bar.tsx
index ad11f43..33a5a9b 100644
--- a/src/modules/bar.tsx
+++ b/src/modules/bar.tsx
@@ -68,14 +68,15 @@ const togglePopup = (self: JSX.Element, event: Astal.ClickEvent, name: string) =
const OSIcon = () => (
);
const ActiveWindow = () => (
{
const title = Variable("");
@@ -101,8 +102,13 @@ const ActiveWindow = () => (
}
/>
@@ -126,7 +132,7 @@ const MediaPlaying = () => {
setupCustomTooltip(self, bind(label));
}}
>
-
+
players.hookLastPlayer(self, "notify::identity", () => {
@@ -142,6 +148,7 @@ const MediaPlaying = () => {
}
/>