Re: [dev] Announcing a couple small X11 utilities

2024-02-15 Thread Enrico Weigelt, metux IT consult
On 15.02.24 03:47, NRK wrote: maybe also announce it on xorg-announce ? IMHO it's good to get some more publically visible traffic on X tools, showing that X isn't dead at all. by the way: I'd recommend using spdx-license-identifer tag instead of redundant license texts in individual sources

Re: [dev] Announcing a couple small X11 utilities

2024-02-14 Thread NRK
Hi, > I've addressed most of your concerns, please check the attached patch > and let me know what else can be done. I've added a commit to `selx` that allows you to pick a monitor [0]. You can either use the cli flag: $ sxot -g $(selx -m 0) or select a monitor interactively via Ctrl+Ri

Re: [dev] Announcing a couple small X11 utilities

2023-08-18 Thread lumidify
On Thu, Aug 17, 2023 at 11:08:58PM +0200, Max Schillinger wrote: > -CROP_CFLAGS = ${CFLAGS} ${DB_CFLAGS} -Wall -Wextra -D_POSIX_C_SOURCE=200809L > `pkg-config --cflags x11` `imlib2-config --cflags` > -CROP_LDFLAGS = ${LDFLAGS} ${DB_LDFLAGS} `pkg-config --libs x11` > `imlib2-config --libs` -lm > +

Re: [dev] Announcing a couple small X11 utilities

2023-08-17 Thread Lars Lindqvist
tor 2023-08-17 10:19:01 skrev Max Schillinger: > On Tue Jul 4, 2023 at 3:51 PM CEST, NRK wrote: > > sx4 > > === > > > > This one is a selection tool. It outputs the selection rectangle to > > stdout which can then be used for other purposes, such as screenshoting > > or screen-recording a specifi

Re: [dev] Announcing a couple small X11 utilities

2023-08-17 Thread Max Schillinger
> I don't have an answer to your question, but if all you need is > cropping, I have a shameless plug for a moderately simple tool > I wrote a while ago: https://lumidify.org/git/croptool/log.html Nice tool! It works as described. Thank you. I needed this patch to be able to compile it: diff --

Re: [dev] Announcing a couple small X11 utilities

2023-08-17 Thread lumidify
On Thu, Aug 17, 2023 at 10:19:01AM +0200, Max Schillinger wrote: > I don't do much image processing but when I do, it's most often cropping > images. Of course, GIMP can do this. But it's huge. I usually use nomacs > instead. But now the nomacs package for Arch Linux is broken because of > depen

Re: [dev] Announcing a couple small X11 utilities

2023-08-17 Thread Max Schillinger
On Tue Jul 4, 2023 at 3:51 PM CEST, NRK wrote: > sx4 > === > > This one is a selection tool. It outputs the selection rectangle to > stdout which can then be used for other purposes, such as screenshoting > or screen-recording a specific area. All these tools are great! Thanks for sharing. I don'

Re: [dev] Announcing a couple small X11 utilities

2023-08-01 Thread Yan Doroshenko
Hello, I've addressed most of your concerns, please check the attached patch and let me know what else can be done. Regards, Yan On 7/31/23 11:44, NRK wrote: Hi Yan, On Sat, Jul 29, 2023 at 02:46:29PM +0200, Yan Doroshenko wrote: I've created a patch for sxot that adds a -m (--monitor)

Re: [dev] Announcing a couple small X11 utilities

2023-07-31 Thread Yan Doroshenko
On 7/31/23 11:44, NRK wrote: Hi Yan, On Sat, Jul 29, 2023 at 02:46:29PM +0200, Yan Doroshenko wrote: I've created a patch for sxot that adds a -m (--monitor) param that allows to select which monitor to capture in a multihead setup. Let me know what you think. Thanks for the patch, I don't use

Re: [dev] Announcing a couple small X11 utilities

2023-07-31 Thread NRK
Hi Yan, On Sat, Jul 29, 2023 at 02:46:29PM +0200, Yan Doroshenko wrote: > I've created a patch for sxot that adds a -m (--monitor) param that allows > to select which monitor to capture in a multihead setup. Let me know what > you think. Thanks for the patch, I don't use a multimonitor setup to t

Re: [dev] Announcing a couple small X11 utilities

2023-07-29 Thread Yan Doroshenko
Howdy, I've created a patch for sxot that adds a -m (--monitor) param that allows to select which monitor to capture in a multihead setup. Let me know what you think. Regards, Yan On 7/4/23 15:51, NRK wrote: Hi all, I'd like to share some small X11 utilities that I've developed and hav

Re: [dev] Announcing a couple small X11 utilities

2023-07-08 Thread fossy
> On Thu, Jul 06, 2023 at 03:43:31PM -0400, fo...@dnmx.org wrote: > > I love such tools.. Is it possible to make something console-based? > > Most terminal emulators (I think?) already have some option to > dump the screen content into some image format. If not, I don't > think it'd be difficult fe

Re: [dev] Announcing a couple small X11 utilities

2023-07-06 Thread NRK
On Thu, Jul 06, 2023 at 03:43:31PM -0400, fo...@dnmx.org wrote: > I love such tools.. Is it possible to make something console-based? Most terminal emulators (I think?) already have some option to dump the screen content into some image format. If not, I don't think it'd be difficult feature to ad

Re: [dev] Announcing a couple small X11 utilities

2023-07-06 Thread fossy
Whoah, that sounds really amazing! I'm glad you list SLOC and depends :) Althought there's 'xgrab' I think that grabs a RGB color code from screen, and is suckless, I remember reviewing it's source code like a year ago. I love such tools.. Is it possible to make, since you seem to be within the s

Re: [dev] Announcing a couple small X11 utilities

2023-07-04 Thread NRK
On Tue, Jul 04, 2023 at 04:37:23PM -0400, Sebastian LaVine wrote: > I'm curious, what inspired you to write this instead of using xwd? Never really knew that it existed :) Going by the manpage, it seems to do a bit more than I'd like, but overall it doesn't seem too bad. - NRK

Re: [dev] Announcing a couple small X11 utilities

2023-07-04 Thread Sebastian LaVine
Cool stuff! On Tue Jul 4, 2023 at 9:51 AM EDT, NRK wrote: > ... > > sxot > > > This one is a *very minimal* screenshot tool. I wrote this when I > realized that other cli screenshot tools (scrot, maim) do way too much. > > sxot on the other hand is meant to follow the unix philosophy - it > s

Re: [dev] Announcing a couple small X11 utilities

2023-07-04 Thread Hiltjo Posthuma
On Tue, Jul 04, 2023 at 07:51:59PM +0600, NRK wrote: > Hi all, > > I'd like to share some small X11 utilities that I've developed and have > been using in my daily setup. The utilities are all fairly small in > size and requires only typical X libraries. > > sxcs > > > This is a simple colo

[dev] Announcing a couple small X11 utilities

2023-07-04 Thread NRK
Hi all, I'd like to share some small X11 utilities that I've developed and have been using in my daily setup. The utilities are all fairly small in size and requires only typical X libraries. sxcs This is a simple color picker and magnifier. My issue with all other existing minimal color pi