simplified, use setbg

This commit is contained in:
Luke Smith 2020-07-16 08:27:28 -04:00
parent 8531ae348d
commit 2be4d7e2d7
No known key found for this signature in database
GPG key ID: 4C50B54A911F6252

View file

@ -60,11 +60,8 @@ cmd copyto ${{
notify-send "📋 File(s) copied." "File(s) copies to $dest." notify-send "📋 File(s) copied." "File(s) copies to $dest."
}} }}
cmd bulkrename ${{ cmd setbg "$1"
vidir cmd bulkrename $vidir
}}
cmd setwallpaper %cp "$f" ~/.config/wall.png && xwallpaper --zoom "$f"
# Bindings # Bindings
map <c-f> $lf -remote "send $id select '$(fzf)'" map <c-f> $lf -remote "send $id select '$(fzf)'"
@ -88,7 +85,7 @@ map I push A<c-a> # at the very beginning
map i push A<a-b><a-b><a-f> # before extention map i push A<a-b><a-b><a-f> # before extention
map a push A<a-b> # after extention map a push A<a-b> # after extention
map B bulkrename map B bulkrename
map bg setwallpaper map b $setbg $f
map <c-e> down map <c-e> down
map <c-y> up map <c-y> up