Re: [dev] dwm: suckless way to monitor work hours

From: Donald Chai <donald.chai_AT_gmail.com>
Date: Tue, 1 Sep 2009 01:15:50 -0700

On Tue, Sep 1, 2009 at 12:07 AM, Niklas Koponen<niklas.koponen_AT_iki.fi> wrote:

--snip--
> I use import to take the snapshot, and I was going to use xev to check
> for event activity by attaching xev to the window that has focus. The
> problem at the moment is that I don't know how to find out which is
> the window that has focus and gets the input.
--snip--
> So how do I know (from the shell) which window has focus in dwm?

`xdotool getwindowfocus` will do it.
Received on Tue Sep 01 2009 - 08:15:50 UTC

This archive was generated by hypermail 2.2.0 : Tue Sep 01 2009 - 08:24:01 UTC