Hi,
using this will successfully launch a full wttr.in forecast in a fullscreen terminal, however as soon as the right-click happens the custom/weather model disappears from waybar until waybar (sway) is restarted:
"custom/weather": {
"format": "{}",
"format-alt": "{alt}: {}",
"format-alt-click": "click-left",
"interval": 300,
"return-type": "json",
"exec": "~/.config/waybar/modules/weather.sh",
"exec-if": "ping wttr.in -c1",
"on-click-right": "kitty --start-as fullscreen bash -ci ~/bin/wttr|less -X"
}
the weather.sh script always returns correct json:
{"text":" 28 to 29°C", "alt":"Paris", "tooltip":"Paris: 28 to 29°C Partly cloudy"}
any ideas?
thanks
Hi,
using this will successfully launch a full wttr.in forecast in a fullscreen terminal, however as soon as the right-click happens the custom/weather model disappears from waybar until waybar (sway) is restarted:
the weather.sh script always returns correct json:
any ideas?
thanks