hyagency

Isolated hyprland desktop for agents.
git clone https://unitehenry.com/git/hyagency.git
Log | Files | Refs | README

commit 42beb24b9f81322cdb026eb4724d7cbed6f6e9e5
parent 8d8a318c36584ff5e2e69b678fbb40b63c551be2
Author: Henry Unite <unitehenry@gmail.com>
Date:   Wed,  1 Jul 2026 01:45:17 +0000

refactor: cleanup

Diffstat:
Mscripts/connect | 14++------------
1 file changed, 2 insertions(+), 12 deletions(-)

diff --git a/scripts/connect b/scripts/connect @@ -2,17 +2,13 @@ set -euo pipefail -PIDS=() - cleanup() { sudo docker rm -f guacamole; sudo docker rm -f guacd; pkill -f opencode - - for pid in "${PIDS[@]}"; do - kill -9 "$pid"; - done + pkill -f wayvnc; + pkill -f chromium; hyprctl output remove Virtual-1 } @@ -37,18 +33,12 @@ hyprctl output create headless Virtual-1 nohup ./wayvnc/build/wayvnc 0.0.0.0 5900 "Virtual-1" > wayvnc.out & -PIDS+=("$!") - nohup chromium --user-data-dir="$(pwd)/chrome-profile" --remote-debugging-port=9222 > chromium.out & -PIDS+=("$!") - nohup opencode web --hostname=0.0.0.0 > opencode.out & sleep 2 -PIDS+=("$!") - CLIENTS=$(hyprctl clients -j | jq -r '.[] | select(.class | test("chromium"; "i")) | .address') COUNT=$(echo "$CLIENTS" | wc -l)