1
0
mirror of https://github.com/kmein/niveum synced 2026-03-16 10:11:08 +01:00
Files

5 lines
154 B
Nix
Raw Permalink Normal View History

2019-08-18 19:15:54 +02:00
{ writeShellScriptBin, curl }:
2019-04-19 15:02:05 +02:00
writeShellScriptBin "wttr" ''
2019-08-18 19:15:54 +02:00
${curl}/bin/curl -s -H "Accept-Language: ''${LANG%_*}" --compressed "wttr.in/''${1-}?0"
2019-04-19 03:11:51 +02:00
''