./x11-wait-for-topmost.sh camera-ui ./x11-wait-for-topmost.sh camera-ui focus
Both of these commands do the same thing, the script will wait until the camera application runs and receives the focus (try opening the camera slide).