| | |
| | | |
| | | aligner_pids_for_current_app() { |
| | | ps -axo pid=,args= | while read -r pid command; do |
| | | case "$command" in |
| | | "$APP/Contents/MacOS/Aligner"*) echo "$pid" ;; |
| | | esac |
| | | if [[ "$command" == "$APP/Contents/MacOS/Aligner"* ]] \ |
| | | || [[ "$command" == "/Applications/Aligner.app/Contents/MacOS/Aligner"* ]] \ |
| | | || [[ "$command" == "$HOME/Applications/Aligner.app/Contents/MacOS/Aligner"* ]]; then |
| | | echo "$pid" |
| | | fi |
| | | done |
| | | } |
| | | |
| | |
| | | local args=( |
| | | --round0-skip-permissions |
| | | --round01-open-quick-switch |
| | | --round01-waterfall-view-mode=vertical |
| | | --round01-fixture-app-count="$app_count" |
| | | --round01-fixture-windows-per-app="$windows_per_app" |
| | | --round01-debug-overlay-width="$overlay_width" |