Skip to content

Instantly share code, notes, and snippets.

@cirrusUK
Created September 22, 2013 19:02
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save cirrusUK/6662766 to your computer and use it in GitHub Desktop.
Save cirrusUK/6662766 to your computer and use it in GitHub Desktop.
simple bash script using notify-send in conjunction with the weatherman script to be notifiedof weather forecast, edit to suit.
#!/bin/bash
RAIN=$(~/weatherman -x "Glasgow, United Kingdom")
notify-send -i ~/.icons/weather.svg "$RAIN"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment