nixos-config/profiles/workspace/i3blocks/scripts/weather.nix

6 lines
151 B
Nix
Raw Normal View History

2020-02-17 17:00:59 +04:00
{ bash, config, curl, iconfont, ... }: ''
#!${bash}/bin/bash
WTTR=$(curl wttr.in/?format=1)
echo "<span font=\"Roboto Mono 11\">$WTTR</span>"
''