From cb29b0a1680f214e5df74bc5d2f05031ae8f5ce3 Mon Sep 17 00:00:00 2001 From: Kirill Lappo Date: Thu, 19 Dec 2019 00:39:49 +0300 Subject: [PATCH] added wttr details on format escaping --- README.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/README.md b/README.md index 470007d..d3a2219 100644 --- a/README.md +++ b/README.md @@ -269,6 +269,9 @@ Beside custom variables mentioned above, the `tmux_conf_theme_status_left` and [wttr.in]: ``` tmux_conf_theme_status_right='#{prefix}#{pairing}#{synchronized} #(curl wttr.in?format=3) , %R , %d %b | #{username}#{root} | #{hostname} ' + +# Escape % char in case of custom weather format with % +tmux_conf_theme_status_right='#{prefix}#{pairing}#{synchronized} #(curl wttr.in/?format=%%l:+%%C+%%t) , %R , %d %b | #{username}#{root} | #{hostname} ' ``` ![Weather information from wttr.in](https://user-images.githubusercontent.com/553208/52175490-07797c00-27a5-11e9-9fb6-42eec4fe4188.png)