From fa8579a77b766c90b78e8f2c266cd76a8b1145af Mon Sep 17 00:00:00 2001 From: stupidcomputer Date: Sat, 25 Jan 2025 17:46:20 -0600 Subject: [PATCH] add aristotle-vnc to bspwm-copernicus-welcome --- builds/utils/bspwm-copernicus-welcome | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/builds/utils/bspwm-copernicus-welcome b/builds/utils/bspwm-copernicus-welcome index a66dc80..55ff9cb 100755 --- a/builds/utils/bspwm-copernicus-welcome +++ b/builds/utils/bspwm-copernicus-welcome @@ -25,7 +25,7 @@ EOF ;; "run-scrcpy") while true; do - if ! pkill -c scrcpy; then + if [ "$(pkill -c scrcpy)" -eq 0 ]; then nohup scrcpy -Sw --window-title="phonercon" > /dev/null & sleep 1 num_jobs=$(jobs | wc -l) @@ -36,7 +36,9 @@ EOF fi fi done - exit + ;; + "run-x11vnc") + nohup aristotle-vnc > /dev/null & ;; "inner") tmux \