1
0
mirror of https://github.com/kmein/niveum synced 2026-03-21 04:11:07 +01:00

modularize colorscheming and more

This commit is contained in:
Kierán Meinhardt
2019-04-19 15:02:05 +02:00
parent a763c63de4
commit 7d6dbc2809
37 changed files with 483 additions and 496 deletions

View File

@@ -1,4 +1,4 @@
{ writeDashBin, curl, jq }:
writeDashBin "wttr" ''
{ writeShellScriptBin, curl, jq }:
writeShellScriptBin "wttr" ''
${curl}/bin/curl -s -H "Accept-Language: ''${LANG%_*}" --compressed "wttr.in/''${1-"@$(${curl}/bin/curl -s ipinfo.io | ${jq}/bin/jq -r .ip)"}?0"
''