Trigger Warnings instantly
Nix build / nix-build (nixosConfigurations.apollo.config.system.build.toplevel) (push) Successful in 56s Details
Nix build / nix-build (nixosConfigurations.athene.config.system.build.toplevel) (push) Successful in 33s Details
Nix build / nix-build (nixosConfigurations.hephaistos.config.system.build.toplevel) (push) Successful in 49s Details
Nix build / nix-build (nixosConfigurations.hera.config.system.build.toplevel) (push) Successful in 27s Details
Nix build / nix-build (nixosConfigurations.zeus.config.system.build.toplevel) (push) Successful in 58s Details
Nix build / nix-flake-check (push) Successful in 1m38s Details

This commit is contained in:
maralorn 2024-02-13 20:25:48 +01:00
parent a0773175b2
commit 406f7b36c6
1 changed files with 2 additions and 3 deletions

View File

@ -21,7 +21,7 @@ softwareFeed ::
m (R.Event t [Warning])
softwareFeed = \env _ -> do
-- db_event <- FileWatch.watchFile env (env.homeDir </> ".local/share/newsboat") "software-updates-cache.db"
db_event <- ReflexUtil.tickEvent 3600
db_event <- (<>) <$> ReflexUtil.tickEvent 3600 <*> R.getPostBuild
ReflexUtil.performEventThreaded env db_event
$ const
$ (Shh.exe ("software-updates") "-x" "print-unread" |> Shh.captureTrim)
@ -35,8 +35,7 @@ softwareFeed = \env _ -> do
0 -> []
n ->
[ MkWarning
{ description =
Just [i|Code Updates: #{n}|]
{ description = Just [i|Code Updates: #{n}|]
, group = "warning"
, subgroup = Nothing
}