summaryrefslogtreecommitdiff
path: root/.config
diff options
context:
space:
mode:
authorxyz <gky44px1999@gmail.com>2021-09-06 23:39:26 -0700
committerxyz <gky44px1999@gmail.com>2021-09-06 23:39:26 -0700
commitd357d20624ccd46309d8d5a02fa94b7c3bad8410 (patch)
tree87879ebb244517632daba2e6eb64e97bb4e9edf1 /.config
parente7ec92296886631f0145d5cd56c8a494e30cfebb (diff)
no promptd
Diffstat (limited to '.config')
-rwxr-xr-x.config/sxiv/exec/key-handler2
1 files changed, 1 insertions, 1 deletions
diff --git a/.config/sxiv/exec/key-handler b/.config/sxiv/exec/key-handler
index 1077b731..65c3cbc0 100755
--- a/.config/sxiv/exec/key-handler
+++ b/.config/sxiv/exec/key-handler
@@ -51,7 +51,7 @@ linkwall() {
# I choose not to put case nested in while read file loop
# because it can pipe multiple files to one command?
case "$1" in
- "d") [ "$(promptd "delete?")" = "Yes" ] && tr '\n' '\0' | xargs -0 rm ;;
+ "d") [ "$(printf 'No\nYes' | dmenu -i -p 'delete?')" = "Yes" ] && tr '\n' '\0' | xargs -0 rm ;;
"e") while read -r file; do alacritty -e sh -c "exiv2 pr -q -pa '$file' | less" & done ;;
"f") flip ;;
"g") tr '\n' '\0' | xargs -0 setsid -f gimp ;;