diff options
| author | Patrick <devnull@mailinator.com> | 2017-06-17 11:01:23 +0800 |
|---|---|---|
| committer | Patrick <devnull@mailinator.com> | 2017-06-17 11:01:23 +0800 |
| commit | 3ed6cf128fd478ce087faa7d07dfd5726ef1815e (patch) | |
| tree | 6764fe8d57fd2d52332d80aaa952f694fa82531b | |
| parent | 704783a7b61749c7f9d560f0a134845aa6483334 (diff) | |
focus the revealed window -- if any
| -rwxr-xr-x | scripts/x-banish | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/scripts/x-banish b/scripts/x-banish index 0ed16c9..38f2eab 100755 --- a/scripts/x-banish +++ b/scripts/x-banish @@ -16,6 +16,7 @@ pid() { w_id=$( xdotool getwindowfocus ) xdotool windowunmap $w_id pid "stop" $w_id + xdotool windowfocus $( x-window-list | awk '{print $1; exit }' ) exit 0 } |
