swallow 158 B

123456789101112
  1. #!/bin/sh --
  2. set -ue
  3. id="$(xdo id)"
  4. xdo hide "${id}"
  5. ppid="${$}"
  6. # shellcheck disable=2016
  7. id="${id}" pd "${ppid}" 'exec xdo show "${id:?}"' &
  8. exec "${@}"