dotfiles/.config/nwg-wrapper/date-wttr.sh

6 lines
233 B
Bash
Raw Normal View History

2022-05-21 00:33:50 +02:00
#!/usr/bin/env bash
time=$(LC_ALL=C TZ='Europe/Warsaw' date +'%A, %d. %B')
wttr=$(curl https://wttr.in/?format=1)
echo '<span size="35000" foreground="#998000">'$time'</span><span size="30000" foreground="#ccc">'
echo $wttr'</span>'