mirror of
https://github.com/chubin/wttr.in
synced 2024-11-14 16:17:19 +00:00
Merge branch 'master' of https://github.com/chubin/wttr.in
This commit is contained in:
commit
7bb7c1b05e
1 changed files with 9 additions and 0 deletions
|
@ -219,6 +219,15 @@ set -g status-right "$WEATHER ..."
|
|||
```
|
||||
![wttr.in in tmux status bar](https://wttr.in/files/example-tmux-status-line.png)
|
||||
|
||||
It can be embedded into an IRC ([Weechat](https://github.com/weechat/weechat)) client's status bar assuming you have one setup, seen running here in a ([Kitty](https://github.com/kovidgoyal/kitty)) terminal.
|
||||
```
|
||||
/alias add wttr /exec -pipe "/set plugins.var.python.text_item.wttr all" url:wttr.in/Montreal?format=%l:+%c+%f+%h+%p+%P+%m+%w+%S+%s
|
||||
/trigger add wttr timer 60000;0;0 "" "" "/wttr"
|
||||
/eval /set weechat.bar.status.items ${weechat.bar.status.items},wttr
|
||||
/eval /set weechat.startup.command_after_plugins ${weechat.startup.command_after_plugins};/wttr
|
||||
```
|
||||
![wttr.in in weechat status bar](https://i.imgur.com/IyvbxjL.png)
|
||||
|
||||
To see emojis in terminal, you need:
|
||||
|
||||
1. Terminal support for emojis (was added to Cairo 1.15.8);
|
||||
|
|
Loading…
Reference in a new issue