dwmblocks: add the current temperature
All checks were successful
/ check (push) Successful in 49s

This commit is contained in:
Oliver Davies 2025-08-26 07:00:00 +01:00
parent ec72053b8c
commit d0b4f8cdf5
2 changed files with 19 additions and 0 deletions

View file

@ -16,6 +16,8 @@
{"", "status-cpu", 10, 0},
{"", "status-weather", 600, 0},
{"", "date '+%a %d %B %Y %H:%M %Z'", 30, 0},
};

View file

@ -0,0 +1,17 @@
{
flake.modules.homeManager.gui =
{ pkgs, ... }:
{
home.packages = [
(pkgs.writeShellApplication {
name = "status-weather";
runtimeInputs = with pkgs; [ curl ];
text = ''
curl -s https://wttr.in/Caerleon?format=%t
'';
})
];
};
}