aboutsummaryrefslogtreecommitdiffstats
path: root/config/hypr/scripts/Hypridle.sh
diff options
context:
space:
mode:
authorDon Williams <don.e.williams@gmail.com>2026-01-08 21:10:18 -0500
committerDon Williams <don.e.williams@gmail.com>2026-01-08 21:10:18 -0500
commit10f3c5d0792ef5d652e0546fa8c8181a43f47c99 (patch)
treee1fc3be263cf0c8678703323bfffad3efc3e60f1 /config/hypr/scripts/Hypridle.sh
parenta35a1c4e980081566287dd6e2510f658f046cad1 (diff)
Fixing more scripts in Hyprland-Dots
- Hypridle.sh now launches hypridle in the background (& disown) - when enabling the daemon, preventing the toggle command from hanging Waybar. - RofiSearch.sh verifies that jq is available, - captures the user’s query explicitly - URL-encodes it via jq @uri, - opens the configured search engine with the encoded query instead of dropping the term. - Sounds.sh now tries pw-play, then paplay, then aplay, - emitting an error if none are installed - the script no longer calls the non-existent pa-play. On branch development Your branch is up to date with 'origin/development'. Changes to be committed: modified: config/hypr/scripts/Hypridle.sh modified: config/hypr/scripts/RofiSearch.sh modified: config/hypr/scripts/Sounds.sh
Diffstat (limited to 'config/hypr/scripts/Hypridle.sh')
-rwxr-xr-xconfig/hypr/scripts/Hypridle.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/config/hypr/scripts/Hypridle.sh b/config/hypr/scripts/Hypridle.sh
index 6acff434..a9bb90d7 100755
--- a/config/hypr/scripts/Hypridle.sh
+++ b/config/hypr/scripts/Hypridle.sh
@@ -15,7 +15,8 @@ elif [[ "$1" == "toggle" ]]; then
if pgrep -x "$PROCESS" >/dev/null; then
pkill "$PROCESS"
else
- "$PROCESS"
+ "$PROCESS" >/dev/null 2>&1 &
+ disown
fi
else
echo "Usage: $0 {status|toggle}"
send patches to the email below
yukais@pinapelz.com
include the subject [PATCH repo_name]
pinapelz.com
homepage