From 1a2bef6b9be2cd064a45a79fec2a53fffe8a6fd9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Thomas=20Av=C3=A9?= Date: Fri, 11 Jul 2025 11:47:47 +0200 Subject: [PATCH] Add notification timeout --- home/ags/files/Bar.tsx | 2 +- home/ags/files/notifications/Notification.tsx | 6 +++++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/home/ags/files/Bar.tsx b/home/ags/files/Bar.tsx index 98c37932..4d122998 100644 --- a/home/ags/files/Bar.tsx +++ b/home/ags/files/Bar.tsx @@ -71,7 +71,7 @@ function Date({ format = "%Y-%m-%d" }): JSX.Element { } function Time({ format = "%H:%M:%S" }): JSX.Element { - const time = createPoll("", 10000, () => GLib.DateTime.new_now_local().format(format)!) + const time = createPoll("", 1000, () => GLib.DateTime.new_now_local().format(format)!) return