Re: [dev] Find window with dmenu
Yes, my solution is very ad hoc, I'm sure it can be improved in many ways.
But I'm looking for something that avoids the problem to begin with.
On Tue,�Feb�12,�2013�at�17:39:30�+0800, Chris Down wrote:
> Just a comment on your method rather than your problem, calling ''grep''
> that many times through that many pipes is fairly expensive and should be
> avoided, since it has to create each new process and pass the same data
> through every single one. You'd be better using awk and a single pipe.
>
> Chris
>
> On 12 February 2013 17:36, Thomas Dean <78abc_AT_web.de> wrote:
>
> > I often have many windows open (leastly with pdf files I need to read), and
> > try to come up with a tool that lets me find and focus a window easily. I
> > now simply list all windows with xwininfo and feed that to dmenu. But the
> > list is full of invisible/dummy windows I don't care about. I clean the
> > list somewhat with sed, but I can't figure out how to cleverly filter out
> > all the unwanted windows in the list. See the attached scripts. Does anyone
> > know a solution for this? Is there an existing tool that lists all
> > "visible" windows along with their id?
> >
> >
Received on Tue Feb 12 2013 - 10:57:49 CET
This archive was generated by hypermail 2.3.0
: Thu Feb 21 2013 - 19:19:06 CET