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