#!/bin/sh w=$(curl -s wttr.in/ahn?format="%l:+%c+%t+%C+%w+%h+%m") w=${w:7} w="$(echo -e "${w}" | sed -e 's/^[[:space:]]*//')" m=$(python ~/bin/moonphase-waybar.py) #echo "{\"text\":\""$w ""$m"\", \"tooltip\":\""tooltip"\", \"class\":\""lxf-weather"\"}"