initial
This commit is contained in:
16
wttr_pressure
Executable file
16
wttr_pressure
Executable file
@@ -0,0 +1,16 @@
|
||||
#!/bin/sh
|
||||
|
||||
case $1 in
|
||||
config)
|
||||
cat <<'EOM'
|
||||
graph_category environment
|
||||
graph_title Pressure
|
||||
graph_vlabel hPa
|
||||
graph_scale no
|
||||
pressure.label pressure
|
||||
EOM
|
||||
exit 0;;
|
||||
esac
|
||||
|
||||
printf "pressure.value "
|
||||
curl -s https://wttr.in/${wttr_location}\?format="%P\n" 2>&1 | sed 's/hPa//'
|
||||
Reference in New Issue
Block a user