From 04ad49cf45d411a8928ffc5063f6a809884e1b20 Mon Sep 17 00:00:00 2001 From: avivbintangaringga Date: Wed, 15 Jul 2026 22:56:56 +0700 Subject: [PATCH] fix(nix-monitor): add back checking update notification --- nix-monitor/nix_monitor_service.luau | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/nix-monitor/nix_monitor_service.luau b/nix-monitor/nix_monitor_service.luau index 539347c..8d2c4bf 100644 --- a/nix-monitor/nix_monitor_service.luau +++ b/nix-monitor/nix_monitor_service.luau @@ -102,6 +102,10 @@ function checkRemoteHash(delay: number?) setState("isRemoteCheckRunning", true) setState("lastRemoteCheckRunTime", os.time()) + if cfg("show_checking_notification") then + noctalia.notify(tr("notification.checking_update")) + end + noctalia.writeFile(remoteHashFile, "") noctalia.runAsync(`sleep {delay} && {remoteHashCmd} > {remoteHashFile} & echo $! > {remotePidFile}`) end