#!/bin/sh -- set -ue id="$(xdo id)" xdo hide "${id}" ppid="${$}" # shellcheck disable=2016 id="${id}" pd "${ppid}" 'exec xdo show "${id:?}"' & exec "${@}"