dotfiles/.config/nwg-wrapper/date-wttr.sh
2022-05-21 00:33:50 +02:00

6 lines
233 B
Bash
Executable File

#!/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>'