aboutsummaryrefslogtreecommitdiffstats
path: root/config/hypr/UserScripts/Weather.sh
Commit message (Collapse)AuthorAgeLines
* feat(weather): URL-encode city, harden file handling, and produce safe ↵prabinpanta02025-10-28-17/+44
| | | | | | | | | | 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
* feat(weather): prefer structured wttr.in format, harden cache and iconsprabinpanta02025-10-28-9/+176
| | | | | | | | | - Use wttr.in structured format first (%l, %C, %t) for stable 3-line parsing - Fallback to individual field requests when combined output omits temperature - Keep ASCII fallback as last resort; best-effort extraction of loc/cond/temp - Read/write cache via mapfile to avoid word splitting; validate temp line - Normalize condition string; extend mapping and add substring icon heuristics - Remove accidental double JSON print in default-case; ensure single output
* config(hypr): add python3 availability check, forward args and propagate ↵prabinpanta02025-10-27-1/+11
| | | | exit status in Weather.sh
* config(hypr): disable tooltip markup by default, refine place handling & ↵prabinpanta02025-10-27-84/+2
| | | | | | | | | | simple output; replace wttr wrapper - Set TOOLTIP_MARKUP default to off (ENV-driven still supported). - Use truthy checks in place extraction helpers and simplify extraction logic. - Change place formatting to show resolved place with coordinates or coordinates-only. - Prepend place to simple text cache and add icons for wind, humidity and visibility. - Replace legacy wttr-based Weather.sh with a direct Python Weather.py invocation.
* welp... seems like the PR was ok.. lmao..JaKooLit2025-05-25-2/+2
| | | | it seems ~ does not work anymore
* Revert "Replace tilda with $HOME because it's expands correctly this way"Ja.KooLit2025-05-23-2/+2
|
* Replace tilda with $HOME because it's expands correctly this wayChoudhry2025-05-05-2/+2
|
* nope..installer2025-02-23-2/+2
| | | | these 2 does not like $HOME
* Not sure if important.. but whateverJaKooLit2025-02-23-2/+2
|
* Some formatting, header adjustments on conf and scriptsJaKooLit2024-09-20-1/+0
|
* Added Searchable Keybinds using rofiJaKooLit2024-09-20-0/+4
| | | | Default Keybind SUPER SHIFT K
* Hyprlock weather delay fixKiran George2024-05-06-0/+4
|
* Re-Structured Hypr Folder in preparation for Updates ScriptsJa.KooLit2023-12-29-0/+80
send patches to the email below
yukais@pinapelz.com
include the subject [PATCH repo_name]
pinapelz.com
homepage