#!/bin/sh export DISPLAY=:0.0 export HOME=/home/filipek temp=$(curl wttr.in/Wrocław?format=1 | awk '{print $2}') file="$HOME/.cache/weather/wroc.txt" echo "$temp" > "$file" notify-send "Temperature updated."