| Commit message (Collapse) | Author | Age | Lines |
| |
|
|
|
|
|
|
| |
or-chaining
Use truthy checks when building Open-Meteo place parts (ignore empty strings)
and replace verbose None-check ternaries with `or` chains when resolving the
effective place (prefer MANUAL_PLACE, then ENV_PLACE, then cached/fetched place).
|
| |
|
|
|
|
|
| |
Use `is not None` when extracting open-meteo place parts so empty strings aren't
discarded. Replace truthy `or` chains for selecting the effective place with
explicit None-aware conditionals so MANUAL_PLACE/ENV_PLACE empty values are
honored instead of being treated as false.
|
| |
|
|
| |
exit status in Weather.sh
|
| | |
|
| |
|
|
|
|
|
|
|
|
| |
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.
|
| |
|
|
|
|
| |
Change out_data annotation from Dict[str, str] to Dict[str, Any] so the
output can include non-string values (tooltip, class, etc.) and avoid
type mismatches.
|
| |
|
|
|
|
|
|
|
| |
- Parse numeric strings more robustly in coerce_number: convert to float then
return int when the float has no fractional part (handles scientific notation
and avoids brittle '.'/'e' checks).
- Add diagnostic warnings to ensure_dict and ensure_list that print the
unexpected type and a truncated repr to stderr to help detect API shape
mismatches.
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
modular flow
- Convert to dataclasses (Location, WeatherData) and add richer typing/casts
- Replace os.path with pathlib for cache paths and file I/O
- Add robust numeric coercion helpers (coerce_int/float/number) and unit-safe parsing
- Introduce ensure_dict/ensure_list and improved safe_get for resilient JSON traversal
- Split geolocation into env/cache/ip providers and modular reverse-geocoding helpers
- Modularize cache/fetch logic (try_cached, fetch_fresh, try_stale) and unify output builder
- Safer handling of API cache timestamp/TTL and stale-cache fallback
- Add simple tests for coercion functions
|
| |
|
|
|
|
|
|
| |
On branch development
Your branch is up to date with 'origin/development'.
Changes to be committed:
modified: config/hypr/UserScripts/Weather.py
|
| |\ |
|
| | |
| |
| |
| | |
Changed index to resolve "index out of range error"
Fix provided by mio-dokuhaki tested and verified
|
| |/
|
|
|
|
|
|
|
| |
themes dir (incl. NixOS) and skip prompt on read-only paths
- Prefer Backgrounds/default for simple_sddm_2; update default.jpg/png if present
- Detect SDDM themes dir under /usr/share and /run/current-system
- Avoid prompting when theme is missing or Backgrounds is not writable (e.g., NixOS)
- Skip runtime changes on NixOS since SDDM isn’t used in that config
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- Accept explicit image path in WallustSwww.sh; retry swww cache briefly if not provided
- Pass selected image path from WallpaperSelect.sh to WallustSwww.sh
- Run WallustSwww.sh synchronously in RefreshNoWaybar.sh to ensure colors are ready before reload
- Update WallpaperAutoChange.sh to call WallustSwww.sh with each rotated image
This eliminates races against swww’s cache and ensures Wallust updates waybar/rofi/kitty/hypr colors immediately after changing wallpapers.
Test plan:
- Select a wallpaper (SUPER+W): observe updated files in ~/.config/{waybar,rofi,kitty}/ and immediate border color changes; waybar reloads with new palette
- Enable auto-rotate (WallpaperAutoChange.sh): colors now update on each rotation without manual intervention
Tested-by: KalebNH
|
| | |
|
| | |
|
| | |
|
| | |
|
| |
|
|
| |
it seems ~ does not work anymore
|
| | |
|
| |\
| |
| | |
feat: Add continuous playback to RofiBeats during choosing next music
|
| | |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
desc:
- Remove stop_music from start of script
- call stop_music after user selections are done
- Add "Stop RofiBeats" user choice to allow stopping player (kill mpv)
Previously, this could be done by opening RofiBeats.
Note: stopping player and music are different. Music can be stopped
using global keybinds.
These changes keep playing (previous) music until next one is chosen.
|
| |\ \ |
|
| | | | |
|
| |/ /
| |
| | |
fix wind speed display
|
| |/ |
|
| |
|
|
| |
uncommented the lower part exec-once - swww
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| |
|
|
| |
by mpvpaper
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| |
|
|
| |
wallpaper yad to avoid multiple yad notification
|
| |
|
|
| |
managers, search engines...
|
| | |
|
| | |
|
| |
|
|
| |
for rasi, making it easier to tweak. Added Style 14. Will start new version after this. Except of course if there is a bug that needs to be squashed
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|