summaryrefslogtreecommitdiff
path: root/scripts/swallow
blob: 4623862579dcf7614c77a4a9ed408cc7af49d263 (plain)
1
2
3
4
5
6
7
#!/bin/sh

activewindow=$(xdotool getactivewindow)

xdotool windowunmap $activewindow
"$@"
xdotool windowmap $activewindow