lf: if wallpaper command doesn't have input, set highlighted image
This commit is contained in:
@@ -17,8 +17,12 @@ cmd mkdir ${{
|
|||||||
}}
|
}}
|
||||||
|
|
||||||
cmd wallpaper ${{
|
cmd wallpaper ${{
|
||||||
p=$(pwd)
|
if [[ "$1" == "" ]]; then
|
||||||
echo -n "$p/$1" > ~/.config/.wallpaper
|
echo -n "$f" > ~/.config/.wallpaper
|
||||||
|
else
|
||||||
|
p=$(pwd)
|
||||||
|
echo -n "$p/$1" > ~/.config/.wallpaper
|
||||||
|
fi
|
||||||
}}
|
}}
|
||||||
|
|
||||||
### Mappings
|
### Mappings
|
||||||
@@ -32,7 +36,3 @@ map d delete
|
|||||||
map x cut
|
map x cut
|
||||||
|
|
||||||
map R reload
|
map R reload
|
||||||
|
|
||||||
map w ${{
|
|
||||||
echo -n "$f" > ~/.config/.wallpaper
|
|
||||||
}}
|
|
||||||
|
|||||||
Reference in New Issue
Block a user