From c0a05f48b0c03cf65f58f550d1a8beaf99570daf Mon Sep 17 00:00:00 2001
From: 2 * r + 2 * t <61896496+soramanew@users.noreply.github.com>
Date: Thu, 16 Jan 2025 22:34:10 +1100
Subject: bar: unread -> notif count
There technically is no unread cause they only disappear when swiped, also notif count makes more sense
---
scss/bar.scss | 2 +-
src/modules/bar.tsx | 79 ++++++++++++++++++-----------------------------------
2 files changed, 27 insertions(+), 54 deletions(-)
diff --git a/scss/bar.scss b/scss/bar.scss
index 7598f1b..f776f19 100644
--- a/scss/bar.scss
+++ b/scss/bar.scss
@@ -92,7 +92,7 @@
color: scheme.$blue;
}
- .unread {
+ .notif-count {
color: scheme.$mauve;
}
diff --git a/src/modules/bar.tsx b/src/modules/bar.tsx
index cf08634..1bcbc08 100644
--- a/src/modules/bar.tsx
+++ b/src/modules/bar.tsx
@@ -389,59 +389,32 @@ const PkgUpdates = () => (
);
-const Unread = () => {
- const unreadCount = Variable(0);
- return (
-
+);
const DateTime = () => (
@@ -501,7 +474,7 @@ export default ({ monitor }: { monitor: Monitor }) => (
-
+
--
cgit v1.2.3-freya