config

OpenBSD system configuration
git clone git://jacobedwards.org/config
Log | Files | Refs | README

commit 80c7aae98ce68bc5490cddf29e48905f76ba245a
parent 67647d854b511fb21af226e4120aec26be0f3aa6
Author: Jacob R. Edwards <jacob@jacobedwards.org>
Date:   Sat,  5 Oct 2024 21:40:28 -0700

Fix sxiv key handler's ask function

No input is treated as a no.

Diffstat:
Mlocal/sxiv/sys/config/sxiv/exec/key-handler | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/local/sxiv/sys/config/sxiv/exec/key-handler b/local/sxiv/sys/config/sxiv/exec/key-handler @@ -10,7 +10,7 @@ die() { exit 1 } ask() { - xinput -l 0 'remove?' | awk '/^[Yy]/ { exit 0 } 1 { exit 1 }' + xinput -l 0 'remove?' | awk '/^[Yy]/ { exit 0 } 1 { exit 1 } END { exit 1 }' } read() xinput "sxiv $1" info() exiftool -f -d '%F' "$@"