summaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
authorSuleyman Farajli <suleyman@farajli.net>2024-08-10 13:39:14 +0400
committerSuleyman Farajli <suleyman@farajli.net>2024-08-10 13:39:14 +0400
commit1589407273e098102ffc231014e1415e5c952dbc (patch)
treec173affdba5ec24ce3af172eeca209489794a460 /config
parent260c9752b487aad4e8242206931be3b192551808 (diff)
sxiv: small update
Diffstat (limited to 'config')
-rwxr-xr-xconfig/sxiv/exec/key-handler6
1 files changed, 4 insertions, 2 deletions
diff --git a/config/sxiv/exec/key-handler b/config/sxiv/exec/key-handler
index 6e1fa71..b92c9db 100755
--- a/config/sxiv/exec/key-handler
+++ b/config/sxiv/exec/key-handler
@@ -42,8 +42,10 @@ while read -r file; do
nsend -s "Failed to copy ${file} to ${destdir}" &
fi
;;
- "w") swall -d "$file" ;;
-
+ "w")
+ swall -d "$file" && nsend -s "Wallpaper Set" \
+ || nsend -s "Couldn't set wallpaper"
+ ;;
"d")
mkdir -p ~/.trash