summaryrefslogtreecommitdiffstats
path: root/.config/sxiv/exec
diff options
context:
space:
mode:
authorLuke Smith <luke@lukesmith.xyz>2019-01-08 00:19:32 -0500
committerLuke Smith <luke@lukesmith.xyz>2019-01-08 00:19:32 -0500
commitc71754df895bd9319169c6f607a7525b61bcebdf (patch)
tree024124af50dab50fccf43152865c627781cb74bc /.config/sxiv/exec
parent68ba026b24a8cff2ae425ba3a482e367bdb68dd5 (diff)
downloadeibhear-c71754df895bd9319169c6f607a7525b61bcebdf.tar.gz
eibhear-c71754df895bd9319169c6f607a7525b61bcebdf.tar.zst
eibhear-c71754df895bd9319169c6f607a7525b61bcebdf.zip
setbg script for centrally editing wallpaper cmd
Diffstat (limited to '.config/sxiv/exec')
-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 80a74f8..b457dd1 100755
--- a/.config/sxiv/exec/key-handler
+++ b/.config/sxiv/exec/key-handler
@@ -4,7 +4,7 @@ do
case "$1" in
"w")
cp "$file" ~/.config/wall.png &&
- feh --bg-scale "$HOME/.config/wall.png"
+ setbg
notify-send -i "$HOME/.config/wall.png" "Wallpaper changed." ;;
"c")
[ -z "$destdir" ] && destdir="$(sed "s/\s.*#.*$//;/^\s*$/d" ~/.bmdirs | awk '{print $2}' | dmenu -l 20 -i -p "Copy file(s) to where?" | sed "s|~|$HOME|g")"