home
/
code
/
khatus.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f32c814
)
Show weather temp as int
author
Siraaj Khandkar
<siraaj@khandkar.net>
Fri, 29 Jun 2018 22:24:38 +0000
(18:24 -0400)
committer
Siraaj Khandkar
<siraaj@khandkar.net>
Fri, 29 Jun 2018 22:24:38 +0000
(18:24 -0400)
bin/khatus_show
patch
|
blob
|
blame
|
history
diff --git
a/bin/khatus_show
b/bin/khatus_show
index
ae9bf0f
..
f8d5dc6
100755
(executable)
--- a/
bin/khatus_show
+++ b/
bin/khatus_show
@@
-253,7
+253,7
@@
else
rm -f "$STATUS_FILE__ENERGY_NOTIFIED_BELLOW_HALF"
fi
-weather=
"$(cat ~/var/run/metar-KJFK-decoded-temp-fahrenheit)°F"
+weather=
$(awk 'NR == 1 {printf("%d°F", $1)}' ~/var/run/metar-KJFK-decoded-temp-fahrenheit)
signal_last_msg_age=$(
ls -lt --time-style=+%s $HOME/var/lib/signal/latest_message.json \
This page took
0.026906 seconds
and
4
git commands to generate.