This commit is contained in:
parent
ec72053b8c
commit
d0b4f8cdf5
2 changed files with 19 additions and 0 deletions
17
modules/hosts/t480/dwm/dwmblocks/weather.nix
Normal file
17
modules/hosts/t480/dwm/dwmblocks/weather.nix
Normal 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
|
||||
'';
|
||||
})
|
||||
];
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue