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 \