Weather for dwm #7
-
Ok, I simply must know, what are you drawing on for displaying weather in the toolbar in your DWM videos? I have a big ole space between the icon and the text with the temperature, I simply must know what you use to get such a nice, neat display! |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 2 replies
-
curl -sf "wttr.in/$LOCATION?format="%c%t"" | sed -e 's/+//' -e 's/\ //' is what I use! :) |
Beta Was this translation helpful? Give feedback.
-
Uhm, I don't mean to presume to ask, and perhaps my issue is with knowing enough C to be able to do this correctly, but I cannot get the whole command to work as it's printed here. It appears that everything at the end of the sed command is disregarded when I am trying to add it to dwmblocks.... any thoughts as to why it doesn't work like this? I know the location needs to be changed. |
Beta Was this translation helpful? Give feedback.
is what I use! :)