1 #!/bin/sh 2 # Small script to launch programs (e.g. mpv) and hide the launching window in 3 # the window manager 4 id=$(xdo id) 5 xdo hide 6 $("$@") > /dev/null 2>&1 7 xdo show "$id"