Re: [dev] diffdisplays

From: Anselm R Garbe <>
Date: Wed, 1 May 2013 12:10:28 +0200

Hi 20h,

On 29 April 2013 18:34, Christoph Lohmann <> wrote:
> on my news mailbox something interesting appeared [0]. Applying such a
> »display diff« to a dwm tag would be interesting, to only show the new
> difference from the last time it was switched to that tag. Making it a
> common tool you can use to watch certain displays from one state would
> make it more usable everywhere. The gimmick of the webcam would be some
> eye tracker which does not need to be combined with the display diff.
> Are here any X11 experts that know how this could be implemented?

You could take a screenshot each time you perform Mod1+{1,...} and
then define another key combination like Ctrl-Shift-Mod1+{1...} to
take another one and then to call feh with some image diff tool to
display the result.

Due to the fact that dwm's keypress() function executes all matching
key combinations, this would be very easy.

Afair there is the compare tool in order to create diffs from screenshots:

compare shot1.png -compose src diff.png

Best regards,
Received on Wed May 01 2013 - 12:10:28 CEST

This archive was generated by hypermail 2.3.0 : Wed May 01 2013 - 12:12:05 CEST