Skip to content

Instantly share code, notes, and snippets.

@lexicalunit
Created February 23, 2021 20:55

Revisions

  1. lexicalunit revised this gist Feb 23, 2021. 1 changed file with 1 addition and 0 deletions.
    1 change: 1 addition & 0 deletions zoom_is_running
    Original file line number Diff line number Diff line change
    @@ -3,3 +3,4 @@
    APP="zoom.us"
    OP="osascript -e 'tell application \"System Events\" to (name of processes) contains \"$APP\"'"
    test "$(eval "$OP")" = "true"

  2. lexicalunit created this gist Feb 23, 2021.
    5 changes: 5 additions & 0 deletions zoom_is_running
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,5 @@
    #!/bin/bash

    APP="zoom.us"
    OP="osascript -e 'tell application \"System Events\" to (name of processes) contains \"$APP\"'"
    test "$(eval "$OP")" = "true"