From a5a501116087587e043d9c682de28f5297059c55 Mon Sep 17 00:00:00 2001 From: filip <“filip.rabiega@gmail.com”> Date: Wed, 12 Nov 2025 09:54:05 +0100 Subject: no message --- wrocwttr | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100755 wrocwttr (limited to 'wrocwttr') diff --git a/wrocwttr b/wrocwttr new file mode 100755 index 0000000..b1bb3af --- /dev/null +++ b/wrocwttr @@ -0,0 +1,10 @@ +#!/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." -- cgit v1.2.3