#!/bin/sh activewindow=$(xdotool getactivewindow) xdotool windowunmap $activewindow "$@" xdotool windowmap $activewindow