aboutsummaryrefslogtreecommitdiffstats
path: root/config/hypr/UserScripts
Commit message (Collapse)AuthorAgeLines
* config(hypr): skip empty place parts and simplify place selection using ↵prabinpanta02025-10-27-6/+6
| | | | | | | | 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).
* config(hypr): preserve empty place strings and use explicit None checksprabinpanta02025-10-27-6/+7
| | | | | | | 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.
* config(hypr): add python3 availability check, forward args and propagate ↵prabinpanta02025-10-27-1/+11
| | | | exit status in Weather.sh
* config(hypr): run Weather.sh at startup; lower weather cache TTL to 5 minutesprabinpanta02025-10-27-1/+1
|
* config(hypr): disable tooltip markup by default, refine place handling & ↵prabinpanta02025-10-27-95/+19
| | | | | | | | | | 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.
* config(hypr): relax out_data typing in Weather.py to Dict[str, Any]prabinpanta02025-10-26-1/+1
| | | | | | 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.
* config(hypr): improve numeric coercion and add ensure_* warningsprabinpanta02025-10-26-2/+12
| | | | | | | | | - 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.
* config(hypr): refactor Weather.py — pathlib, typing, safer parsing & ↵prabinpanta02025-10-26-178/+500
| | | | | | | | | | | | | 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
* Updated Weather.py to correct versionDon Williams2025-10-05-107/+504
| | | | | | | | On branch development Your branch is up to date with 'origin/development'. Changes to be committed: modified: config/hypr/UserScripts/Weather.py
* Merge branch 'development' into feat/sddm-wallpaper-default-path-detectionDonald Williams2025-09-22-1/+2
|\
| * Update Weather.py - index out of rangeDonald Williams2025-09-21-1/+2
| | | | | | | | Changed index to resolve "index out of range error" Fix provided by mio-dokuhaki tested and verified
* | fix(sddm): set Backgrounds/default as primary and update fallbacks; detect ↵Don Williams2025-09-20-29/+51
|/ | | | | | | | | 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
* fix(wallust): make theme regeneration deterministic on wallpaper changeDon Williams2025-09-20-3/+6
| | | | | | | | | | | | | | | - 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
* Moved Autodispatch script to the UserScripts directory;tak0dan2025-07-26-0/+90
|
* integrated wallust colors into simple_sddm_2 SDDM themeJaKooLit2025-07-17-11/+7
|
* Update WallpaperEffects.shJa.KooLit2025-06-08-5/+5
|
* Update WallpaperSelect.shJa.KooLit2025-06-08-6/+5
|
* 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
|
* Merge pull request #691 from Mtp81/rofibeats-continuous-playbackJa.KooLit2025-05-20-21/+40
|\ | | | | feat: Add continuous playback to RofiBeats during choosing next music
| * feat: Add continuous playback to RofiBeats during choosing next musicMarko Pekkola2025-05-09-21/+40
| | | | | | | | | | | | | | | | | | | | | | | | 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.
* | Merge branch 'main' into patch-1Donald Williams2025-05-19-2/+2
|\ \
| * | Replace tilda with $HOME because it's expands correctly this wayChoudhry2025-05-05-2/+2
| | |
* | | Update Weather.pyDaniel Walker2025-05-01-1/+1
|/ / | | | | fix wind speed display
* / bug fix for Weather.pymio-dokuhaki2025-04-05-5/+7
|/
* updated startup apps.conf and WallpaperSelect.sh as it seems that it is also ↵JaKooLit2025-03-20-2/+3
| | | | uncommented the lower part exec-once - swww
* Fixed the preview of wallpaperloner2025-03-20-115/+132
|
* minor WallpaperSelect.sh updateJaKooLit2025-03-20-2/+2
|
* updated some scripts to reflect new images on swayncJaKooLit2025-03-20-6/+6
|
* Updated WallpaperSelect.sh, Refresh.sh & RefreshNoWaybar.shJaKooLit2025-03-19-4/+3
|
* Update WallpaperSelect.shJa.KooLit2025-03-19-1/+1
|
* updated wallpaper select. Better handling of wallpaper filesJaKooLit2025-03-19-36/+25
|
* minor improvement on wallpaper select to handle video filesJaKooLit2025-03-17-1/+1
|
* update wallpaper selectJaKooLit2025-03-16-1/+1
|
* adjusted WallpaperSelect.sh & Rofi-Beats.sh to prevent killing the mpv used ↵JaKooLit2025-03-16-18/+26
| | | | by mpvpaper
* added a killall command for mpvpaper to avoid multiple mpvpaper processJaKooLit2025-03-16-0/+1
|
* initial mpvpaper supportJaKooLit2025-03-16-106/+176
|
* replaced folders//folder with directories/directoryJaKooLit2025-03-13-5/+5
|
* updated wallpaper select.shJaKooLit2025-03-08-1/+6
|
* reduced yad timeout for applying SDDM background to 5 secs from 10 secsJaKooLit2025-03-07-2/+2
|
* Added Top & Bot waybar v2 layout, Prismatic Glow waybar style. Adjust Select ↵JaKooLit2025-03-01-0/+12
| | | | wallpaper yad to avoid multiple yad notification
* Introduction of using a separate file for Default apps, terminals, file ↵JaKooLit2025-03-01-84/+0
| | | | managers, search engines...
* adjusted wallpaper menu scripts to apply some limitsJaKooLit2025-02-28-6/+9
|
* updated yad for setting sddm backgroundJaKooLit2025-02-26-3/+16
|
* Ok This will be my last push for v2.3.12. Basically, added a global fonts ↵JaKooLit2025-02-26-2/+3
| | | | 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
* switching back rainbow borders on active window again :)JaKooLit2025-02-25-2/+2
|
* added blockage for nixos on changing oh my zshJaKooLit2025-02-25-3/+9
|
* fixed for the mini BUG when selecting wallpaper to apply as SDDM backgroundJaKooLit2025-02-24-45/+17
|
* Update Kool_Quick_Settings.shJa.KooLit2025-02-24-1/+1
|
* Update Kool_Quick_Settings.shJa.KooLit2025-02-24-1/+1
|
send patches to the email below
yukais@pinapelz.com
include the subject [PATCH repo_name]
pinapelz.com
homepage