9 lines
152 B
Plaintext
9 lines
152 B
Plaintext
|
#!/bin/sh
|
||
|
set -e
|
||
|
CMD="$1"
|
||
|
shift 1
|
||
|
WINDOW=$(xdotool getwindowfocus)
|
||
|
xdotool windowunmap "$WINDOW"
|
||
|
$CMD "$@" > /dev/null 2>&1
|
||
|
xdotool windowmap "$WINDOW"
|