From 99925db6a33665713dd0b29f8f9d06f37f071960 Mon Sep 17 00:00:00 2001 From: Derek Taylor Date: Wed, 21 Apr 2021 16:45:11 -0500 Subject: [PATCH] Adding options for xwallpaper OR feh. --- .config/sxiv/exec/key-handler | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.config/sxiv/exec/key-handler b/.config/sxiv/exec/key-handler index eaec768..9e4d42e 100755 --- a/.config/sxiv/exec/key-handler +++ b/.config/sxiv/exec/key-handler @@ -35,7 +35,7 @@ do case "$1" in "c") xclip -selection clipboard -target image/png "$file" && - notify-send "$file has been copied to clipboard." && exit 0 + notify-send "$file has been copied to clipboard." && exit 0 ;; "d") [ "$(printf "No\\nYes" | dmenu -i -p "Really delete $file?")" = "Yes" ] && @@ -52,7 +52,7 @@ do ;; "w") feh --bg-scale "$file" && - notify-send "$file has been set as your wallpaper." && exit 0 + notify-send "$file has been set as your wallpaper." && exit 0 ;; "x") xwallpaper --stretch "$file" && @@ -61,7 +61,7 @@ do touch $filename fi echo "$file" > $HOME/.xwallpaper && - notify-send "$file has been set as your wallpaper." && exit 0 + notify-send "$file has been set as your wallpaper." && exit 0 ;; "7") rotate 270