Change background hotkey
This commit is contained in:
parent
5809bc4d3b
commit
257de525d9
1 changed files with 8 additions and 0 deletions
|
|
@ -44,6 +44,8 @@ map I :rename; cmd-home # at the very beginning
|
||||||
map <c-f> $lf -remote "send $id select \"$(fzf)\""
|
map <c-f> $lf -remote "send $id select \"$(fzf)\""
|
||||||
map F broot_jump
|
map F broot_jump
|
||||||
|
|
||||||
|
map b set_bg
|
||||||
|
|
||||||
## COMMAND DEFINITIONS
|
## COMMAND DEFINITIONS
|
||||||
|
|
||||||
cmd touch %touch $1 && lf -remote "send $id load" && lf -remote "send $id select $1"
|
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
|
[ $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 ${{
|
cmd extract ${{
|
||||||
clear; tput cup $(($(tput lines)/3)); tput bold
|
clear; tput cup $(($(tput lines)/3)); tput bold
|
||||||
set -f
|
set -f
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue