From 010b15c636221d27a387b6c85dc7d8c2a619dba2 Mon Sep 17 00:00:00 2001 From: "Avinash H. Duduskar" <2946372+Strykar@users.noreply.github.com> Date: Sat, 2 Apr 2022 18:17:44 +0530 Subject: [PATCH] Add screenshot in weechat status bar Anonymized image used and commands to set it up; commands assumes there is an existing status bar. --- README.md | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/README.md b/README.md index 9389587..68695e2 100644 --- a/README.md +++ b/README.md @@ -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);