Last active
November 1, 2022 18:23
-
-
Save vician/f20fa8219859095d35ca to your computer and use it in GitHub Desktop.
Bubble notification for current weather condition (via wttr.in)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
CITY="prague" | |
notify-send "$(curl wttr.in/$CITY 2>/dev/null 3>/dev/null | head -n 7| sed -r "s:\x1B\[[0-9;]*[mK]::g")" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment