1
0
Fork 0
mirror of synced 2024-12-12 18:35:47 -05:00

updated README.md to show how to 'curl wttr.in' to display weather, resolves #71

This commit is contained in:
Gregory Pakosz 2019-02-03 11:18:45 +01:00
parent bfc7321f17
commit 2b0cb0b43c

View file

@ -258,6 +258,18 @@ This configuration supports the following builtin variables:
- `#{username_ssh}`: SSH aware username information, blank when not connected - `#{username_ssh}`: SSH aware username information, blank when not connected
to a remote server through SSH/Mosh to a remote server through SSH/Mosh
Beside custom variables mentioned above, the `tmux_conf_theme_status_left` and
`tmux_conf_theme_status_right` variables support usual tmux syntax, e.g. using
`#()` to call an external command that inserts weather information provided by
[wttr.in]:
```
tmux_conf_theme_status_right='#{prefix}#{pairing}#{synchronized} #(curl wttr.in?format=3) , %R , %d %b | #{username}#{root} | #{hostname} '
```
![Weather information from wttr.in](https://user-images.githubusercontent.com/553208/52175490-07797c00-27a5-11e9-9fb6-42eec4fe4188.png)
[wttr.in]: https://github.com/chubin/wttr.in#one-line-output
### Accessing the macOS clipboard from within tmux sessions ### Accessing the macOS clipboard from within tmux sessions
[Chris Johnsen created the `reattach-to-user-namespace` [Chris Johnsen created the `reattach-to-user-namespace`