diff options
Diffstat (limited to 'dot/local/bin/banish')
-rwxr-xr-x | dot/local/bin/banish | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/dot/local/bin/banish b/dot/local/bin/banish new file mode 100755 index 0000000..6391253 --- /dev/null +++ b/dot/local/bin/banish | |||
@@ -0,0 +1,9 @@ | |||
1 | #!/bin/bash | ||
2 | |||
3 | export DISPLAY=${DISPLAY:-:0} | ||
4 | |||
5 | xwininfo -root | sed -ne 's/ \(Width\|Height\): //p' | { | ||
6 | read w | ||
7 | read h | ||
8 | xwit -root -warp $w $h | ||
9 | } | ||