Reorganize Fedora dotfiles and remove legacy profile

This commit is contained in:
Mikhail Kilin
2026-07-25 12:38:39 +03:00
parent a601a53660
commit 6cb1d53a70
75 changed files with 2146 additions and 3974 deletions

View File

@@ -0,0 +1,9 @@
#!/bin/bash
weather=$(curl -4 -sS --connect-timeout 3 --max-time 8 "https://wttr.in/?format=%c%t" 2>/dev/null)
if [ -z "$weather" ] || printf '%s' "$weather" | grep -q "Unknown"; then
printf '%s\n' '{"text":"N/A"}'
exit 0
fi
printf '{"text":"%s"}\n' "$weather"