aboutsummaryrefslogtreecommitdiffstats
path: root/config/hypr/UserScripts
Commit message (Collapse)AuthorAgeLines
* fix: remove non-english commentsbrockar2026-01-23-45/+17
|
* Changed SDDM wallpaper setting to a dedicated menu itemDon Williams2026-01-19-84/+0
| | | | | | | | | | On branch development Your branch is up to date with 'origin/development'. Changes to be committed: modified: config/hypr/UserScripts/WallpaperEffects.sh modified: config/hypr/UserScripts/WallpaperSelect.sh modified: config/hypr/scripts/Kool_Quick_Settings.sh
* Disabled RainbowBorders by default use quick settings to enableDon Williams2026-01-16-0/+0
| | | | | | | | | | | | | | | The new mode select menu for RainbowBorders makes the prompt at install redundant. Especially when upgrading On branch development Your branch is up to date with 'origin/development'. Changes to be committed: modified: CHANGELOG.md renamed: config/hypr/UserScripts/RainbowBorders.sh -> config/hypr/UserScripts/RainbowBorders.bak.sh modified: config/hypr/configs/Startup_Apps.conf modified: copy.sh modified: scripts/lib_prompts.sh
* Changed notification code, trying fix wallust modeDon Williams2026-01-16-5/+2
| | | | | | | | | On branch development Your branch is up to date with 'origin/development'. Changes to be committed: modified: config/hypr/UserScripts/RainbowBorders.sh modified: config/hypr/scripts/Kool_Quick_Settings.sh
* Added submeu for RainbowBorders and the new modesDon Williams2026-01-16-7/+85
| | | | | | | | | | | | | | | | - Added `Rainbow Borders sub memu` - Code provided by [brunoorsolon](https://github.com/brunoorsolon) - There are now mulitple modes for the Rainbow Borders feature - `Disabled`, `Wallust Color`, `Rainbow`, `Gradient flow` - Thank you for the submission On branch development Your branch is up to date with 'origin/development'. Changes to be committed: modified: CHANGELOG.md modified: config/hypr/UserScripts/RainbowBorders.sh modified: config/hypr/scripts/Kool_Quick_Settings.sh
* fix: respect XDG dir instead of forcing ~/Pictures (#899)Jaël Champagne Gareau2025-12-30-3/+5
| | | | | | | | | * fix: respect XDG dir instead of forcing ~/Pictures * fix: make xdg-user-dir usage more robust --------- Co-authored-by: Donald Williams <129223418+dwilliam62@users.noreply.github.com>
* Merge branch 'development' into patch-2Donald Williams2025-12-29-1/+25
|\
| * Add network check to WeatherWrap scriptMaximilian Zhu2025-12-29-1/+25
| | | | | | Added a network connectivity check function to determine if the script can proceed with fetching weather data. If no network is available, it returns an offline status. (It will show an offline Icon in Waybar after waking up from `systemctl suspend` or `systemctl hibernate` and having no network. If you click it in waybar it will recheck, but this is unintended)
* | Update: Enhance Weather.sh to get city from IP addressMaximilian Zhu2025-12-29-6/+40
|/ | | Added functionality to retrieve current city based on IP address with fallbacks and manual setting.
* Invalidate cache when changing unitsDon Williams2025-12-06-0/+7
| | | | | | | | On branch development Your branch is up to date with 'origin/development'. Changes to be committed: modified: Weather.py
* Merge pull request #874 from albersonmiranda/weather-fixDonald Williams2025-12-05-5/+5
|\ | | | | fix: Check for empty strings in place parts and prevent coordinates from printing when a place is found.
| * fix: Check for empty strings in place parts and prevent coordinates from ↵Alberson Miranda2025-12-05-5/+5
| | | | | | | | printing when a place is found.
* | fix: Fix wallpaper selector showing wrong wallpaper when filename contains dotsTim2025-12-01-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | The `cut -d. -f1` command truncated filenames at the first dot, causing wallpapers named like "01. Catppuccin.jpg" to display as just "01" in the rofi menu. Multiple wallpapers with the same prefix showed identical labels, and selecting one applied the wrong file since `find -print -quit` returned the first alphabetical match. Changed to use full filename `$pic_name` (consistent with GIF and video handling on lines 87 and 94). The existing sed on line 222 correctly strips only the file extension for the find command.
* | 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
| | |
send patches to the email below
yukais@pinapelz.com
include the subject [PATCH repo_name]
pinapelz.com
homepage