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
> +CROP_CFLAGS = ${CFLAGS} ${DB_CFLAGS} -Wall -Wextra -D_POSIX_C_SOURCE=200809L 
> `pkg-config --cflags x11` `pkg-config --cflags --libs imlib2`
> +CROP_LDFLAGS = ${LDFLAGS} ${DB_LDFLAGS} `pkg-config --libs x11` `pkg-config 
> --cflags --libs imlib2` -lm

Thanks, I hadn't noticed this because I'm currently on a system that
still includes imlib2-config. I replaced it with pkg-config now
since that also works on my system. I added a note in case there are
any old systems around still that don't have pkg-config files for
imlib2 yet.

> And it wasn't obvious to me that I have to exit croptool via dwm to get 
> some output. It would be nice if it supported a common shortcut like 
> Ctrl-q to quit.

I added 'q' to exit now, like feh and sxiv. If I ever get around to it, I
might make it easier to configure that like in dwm. For now, you need to
look at the function 'key_press' at the bottom of croptool.c if you want
to modify any of the key bindings.

Thanks for the feedback!

-- 
lumidify

Reply via email to