aboutsummaryrefslogtreecommitdiffstats
path: root/config/hypr/scripts/LockScreen.sh
diff options
context:
space:
mode:
authorprabinpanta0 <pantaprabin30@gmail.com>2025-10-28 17:13:29 +0545
committerprabinpanta0 <pantaprabin30@gmail.com>2025-10-28 17:13:29 +0545
commit2c32d1cc6ca9397db2db94bb50ad5238fa75d0c9 (patch)
tree49e168f7129a9a242fe9f65cc1358644baf6377c /config/hypr/scripts/LockScreen.sh
parent2847467b4427a02c8b92346e9916186e05e42a41 (diff)
feat(weather): URL-encode city, harden file handling, and produce safe JSON/cache output
- URL-encode city (python3 / jq / minimal sed fallback) and use encoded_city for all wttr.in calls - Quote cachedir/cachefile usages and introduce a file variable for clarity - Use portable stat (GNU/BSD fallback) and compute cache age robustly - Replace brittle echo JSON with json_escape + printf to safely escape output - Ensure .weather_cache is written as a two-line file with a proper trailing newline
Diffstat (limited to 'config/hypr/scripts/LockScreen.sh')
0 files changed, 0 insertions, 0 deletions
send patches to the email below
yukais@pinapelz.com
include the subject [PATCH repo_name]
pinapelz.com
homepage