Re: [dev] xscreenshot(1) using suckless image format

2014-07-29 Thread Dimitris Papastamos
On Tue, Jul 29, 2014 at 11:48:45AM +0100, Dimitris Papastamos wrote: > [aOn Tue, Jul 29, 2014 at 12:27:17PM +0200, Anselm R Garbe wrote: > > On 28 July 2014 16:14, Dimitris Papastamos wrote: > > > Hiltjo Posthuma wrote xscreenshot[0] which basically generates an if > > > on stdout. The imagefile[

Re: [dev] xscreenshot(1) using suckless image format

2014-07-29 Thread Dimitris Papastamos
[aOn Tue, Jul 29, 2014 at 12:27:17PM +0200, Anselm R Garbe wrote: > On 28 July 2014 16:14, Dimitris Papastamos wrote: > > Hiltjo Posthuma wrote xscreenshot[0] which basically generates an if > > on stdout. The imagefile[1] tools can be used to convert the if to > > png using if2png (thanks FRIGN!

Re: [dev] xscreenshot(1) using suckless image format

2014-07-29 Thread Anselm R Garbe
On 28 July 2014 16:14, Dimitris Papastamos wrote: > Hiltjo Posthuma wrote xscreenshot[0] which basically generates an if > on stdout. The imagefile[1] tools can be used to convert the if to > png using if2png (thanks FRIGN!). > > The dependencies are kept to a minimum so xscreenshot only depends

Re: [dev] xscreenshot(1) using suckless image format

2014-07-28 Thread stanio
> > Is there a reliable way to get the X id of a window in a shell script? This > xwininfo could help. that's very helful, thanks a lot, Marcus! cheers --s

Re: [dev] xscreenshot(1) using suckless image format

2014-07-28 Thread Wolfgang Corcoran-Mathe
Quoth Markus Teich on Mon, Jul 28 2014 23:26 +0200: Is there a reliable way to get the X id of a window in a shell script? xwininfo could help. Thanks you, Markus, xwininfo does exactly what I wanted. -- Wolfgang Corcoran-Mathe

Re: [dev] xscreenshot(1) using suckless image format

2014-07-28 Thread Markus Teich
Wolfgang Corcoran-Mathe wrote: > Is there a reliable way to get the X id of a window in a shell script? This > seems basic, but I could not find a way to do this that works for all windows. > Digging around in the output of `xprop -root` as in [0] looks far too ugly, to > me, to be the right thing.

Re: [dev] xscreenshot(1) using suckless image format

2014-07-28 Thread Wolfgang Corcoran-Mathe
Quoth Dimitris Papastamos on Mon, Jul 28 2014 15:14 +0100: Hiltjo Posthuma wrote xscreenshot[0] which basically generates an if on stdout. The imagefile[1] tools can be used to convert the if to png using if2png (thanks FRIGN!). This is a very useful tool, and imagefile looks like a great forma

Re: [dev] xscreenshot(1) using suckless image format

2014-07-28 Thread FRIGN
On Mon, 28 Jul 2014 15:14:46 +0100 Dimitris Papastamos wrote: > The imagefile[1] tools can be used to convert the if to > png using if2png (thanks FRIGN!). For everyone interested, I'm planning on writing a short introduction to the format and how you can work with it this evening. Porting xscr

[dev] xscreenshot(1) using suckless image format

2014-07-28 Thread Dimitris Papastamos
Hi all, Hiltjo Posthuma wrote xscreenshot[0] which basically generates an if on stdout. The imagefile[1] tools can be used to convert the if to png using if2png (thanks FRIGN!). The dependencies are kept to a minimum so xscreenshot only depends on libX11 and the imagefile tools depend on libpng.