Updated Customizing Info (markdown)

Dylan Araps 2017-12-15 14:47:33 +11:00
parent e8716a0968
commit ac2cc4d824
1 changed files with 2 additions and 2 deletions

@ -115,7 +115,7 @@ prin "Date" "$(date)"
prin "$(color 4)That's not my name" prin "$(color 4)That's not my name"
# Print the current weather # Print the current weather
prin "Weather" "$(curl wttr.in/?0?q?T | awk '/°(C|F)/ {printf $3 $4 " ("a")"} /,/ {a=$0}')" prin "Weather" "$(curl wttr.in/?0?q?T | awk '/°(C|F)/ {printf $(NF-1) $(NF) " ("a")"} /,/ {a=$0}')"
``` ```
### color ### color
@ -202,7 +202,7 @@ print_info() {
### Display the current weather ### Display the current weather
```sh ```sh
prin "Weather" "$(curl wttr.in/?0?q?T | awk '/°(C|F)/ {printf $3 $4 " ("a")"} /,/ {a=$0}')" prin "Weather" "$(curl wttr.in/?0?q?T | awk '/°(C|F)/ {printf $(NF-1) $(NF) " ("a")"} /,/ {a=$0}')"
``` ```
### Print color blocks on the top and bottom ### Print color blocks on the top and bottom