diff --git a/.config/lf/lfrc b/.config/lf/lfrc index d2117f5..ae83916 100644 --- a/.config/lf/lfrc +++ b/.config/lf/lfrc @@ -44,6 +44,8 @@ map I :rename; cmd-home # at the very beginning map $lf -remote "send $id select \"$(fzf)\"" map F broot_jump +map b set_bg + ## COMMAND DEFINITIONS cmd touch %touch $1 && lf -remote "send $id load" && lf -remote "send $id select $1" @@ -59,6 +61,12 @@ cmd delete ${{ [ $ans = "y" ] && rm -rf -- $fx }} +cmd set_bg ${{ + rm ~/.config/wallpaper + cp "$fx" ~/.config/wallpaper + feh --bg-fill --no-fehbg "$HOME/.config/wallpaper" +}} + cmd extract ${{ clear; tput cup $(($(tput lines)/3)); tput bold set -f