aboutsummaryrefslogtreecommitdiffstats
path: root/config/hypr/UserScripts
Commit message (Collapse)AuthorAgeLines
* fix: Weather.py one-off runbrockar2025-11-09-1/+1
|
* fix(rofi): update RofiBeats shebang to /usr/bin/env bashmio-dokuhaki2025-11-05-1/+1
|
* feat(rofi): merge RofiBeats dynamic music system into developmentmio-dokuhaki2025-11-05-110/+93
|
* Changed /usr/bin/bash to /usr/bin/env bashDon Williams2025-10-28-11/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | On branch development Your branch is up to date with 'origin/development'. Changes to be committed: modified: Distro-Hyprland.sh modified: config/hypr/UserScripts/RainbowBorders.sh modified: config/hypr/UserScripts/RofiBeats.sh modified: config/hypr/UserScripts/RofiCalc.sh modified: config/hypr/UserScripts/Tak0-Autodispatch.sh modified: config/hypr/UserScripts/WallpaperAutoChange.sh modified: config/hypr/UserScripts/WallpaperEffects.sh modified: config/hypr/UserScripts/WallpaperRandom.sh modified: config/hypr/UserScripts/WallpaperSelect.sh modified: config/hypr/UserScripts/Weather.sh modified: config/hypr/UserScripts/WeatherWrap.sh modified: config/hypr/UserScripts/ZshChangeTheme.sh new file: config/hypr/configs/Startup_Apps.conf new file: config/hypr/configs/WindowRules.conf modified: config/hypr/hyprland.conf modified: config/hypr/initial-boot.sh modified: config/hypr/scripts/AirplaneMode.sh modified: config/hypr/scripts/Animations.sh modified: config/hypr/scripts/Battery.sh modified: config/hypr/scripts/Brightness.sh modified: config/hypr/scripts/BrightnessKbd.sh modified: config/hypr/scripts/ChangeBlur.sh modified: config/hypr/scripts/ChangeLayout.sh modified: config/hypr/scripts/ClipManager.sh new file: config/hypr/scripts/ComposeHyprConfigs.sh modified: config/hypr/scripts/DarkLight.sh modified: config/hypr/scripts/Distro_update.sh modified: config/hypr/scripts/Dropterminal.sh modified: config/hypr/scripts/GameMode.sh modified: config/hypr/scripts/Hypridle.sh modified: config/hypr/scripts/KeyBinds.sh modified: config/hypr/scripts/KeyHints.sh modified: config/hypr/scripts/KillActiveProcess.sh modified: config/hypr/scripts/Kitty_themes.sh modified: config/hypr/scripts/KooLsDotsUpdate.sh modified: config/hypr/scripts/Kool_Quick_Settings.sh modified: config/hypr/scripts/LockScreen.sh modified: config/hypr/scripts/MediaCtrl.sh modified: config/hypr/scripts/MonitorProfiles.sh modified: config/hypr/scripts/Polkit-NixOS.sh modified: config/hypr/scripts/Polkit.sh modified: config/hypr/scripts/PortalHyprland.sh modified: config/hypr/scripts/Refresh.sh modified: config/hypr/scripts/RefreshNoWaybar.sh modified: config/hypr/scripts/RofiEmoji.sh modified: config/hypr/scripts/RofiSearch.sh modified: config/hypr/scripts/RofiThemeSelector-modified.sh modified: config/hypr/scripts/RofiThemeSelector.sh modified: config/hypr/scripts/ScreenShot.sh modified: config/hypr/scripts/Sounds.sh modified: config/hypr/scripts/SwitchKeyboardLayout.sh modified: config/hypr/scripts/Tak0-Autodispatch.sh modified: config/hypr/scripts/TouchPad.sh modified: config/hypr/scripts/Volume.sh modified: config/hypr/scripts/WallustSwww.sh modified: config/hypr/scripts/WaybarLayout.sh modified: config/hypr/scripts/WaybarScripts.sh modified: config/hypr/scripts/WaybarStyles.sh modified: config/hypr/scripts/Wlogout.sh modified: config/hypr/scripts/sddm_wallpaper.sh modified: copy.sh modified: release.sh modified: upgrade.sh
* weatherWrap.sh -> WeatherWrap.shbrockar2025-10-28-0/+0
|
* feat(weather): prioritize MANUAL_PLACE for geocoding and skip reverse lookup ↵prabinpanta02025-10-28-8/+16
| | | | | | | | | when set - Treat MANUAL_PLACE as highest priority: forward-geocode it first and return coords if found - Make ENV_PLACE a separate forward-geocode step (after explicit env coords) - When fetching fresh weather, use MANUAL_PLACE directly as the place string to avoid an unnecessary reverse geocode call - Update comment numbering to reflect the new priority order
* 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(weatherWrap): add Python‑first entrypoint with Bash fallbackprabinpanta02025-10-28-0/+33
| | | | | | | - Prefer Weather.py (Open‑Meteo) for reliable data and caching - Fallback to Weather.sh if Python is missing or Weather.py exits non‑zero - Pass through all CLI args; invoke Bash explicitly for consistent execution - Helps external callers (e.g., lock hooks) refresh ~/.cache/.weather_cache robustly
* feat(weather): forward geocode MANUAL_PLACE/WEATHER_PLACE to lat/lonprabinpanta02025-10-28-7/+50
| | | | | | | - Add Open‑Meteo geocoding for place names; use when env coords aren’t set - Adjust get_coords precedence: env coords > manual/env place > cache > IP - Guard cache reuse by verifying cached forecast lat/lon matches requested - Preserve tooltip place display; no changes to JSON schema/output fields
* 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): preserve valid zero values for is_day and weather_code by ↵prabinpanta02025-10-27-2/+4
| | | | using explicit None checks
* config(hypr): preserve fetched/cached place and stop preemptive MANUAL/ENV ↵prabinpanta02025-10-27-7/+5
| | | | | | override Use the exact place value returned from fetch_place or stored in the API cache when writing/reading and when building output. Remove the early coalescing with MANUAL_PLACE/ENV_PLACE so cached/fetched place strings (including empty/None) are preserved and final selection is handled centrally by build_place_str.
* Update config/hypr/UserScripts/Weather.pyPrabin Panta2025-10-27-1/+1
| | | Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
* config(hypr): preserve empty place strings & prefer MANUAL/ENV place; use ↵prabinpanta02025-10-27-8/+9
| | | | | | | | | explicit None checks - Use explicit "is not None" checks when building place parts so empty strings are kept instead of being treated as falsy. - Build place string from MANUAL_PLACE or ENV_PLACE before reverse-geocoded place, preserving explicit overrides and empty place values.
* 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
|
send patches to the email below
yukais@pinapelz.com
include the subject [PATCH repo_name]
pinapelz.com
homepage