From 3ed6cf128fd478ce087faa7d07dfd5726ef1815e Mon Sep 17 00:00:00 2001 From: Patrick Date: Sat, 17 Jun 2017 11:01:23 +0800 Subject: focus the revealed window -- if any --- scripts/x-banish | 1 + 1 file changed, 1 insertion(+) 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 } -- cgit v1.2.3