Update rs_wall
This commit is contained in:
parent
22ef5154a6
commit
08dbb53f02
1 changed files with 1 additions and 1 deletions
|
@ -49,7 +49,7 @@ CheckDependencies() {
|
|||
CheckDependencies
|
||||
|
||||
cd "$walldir" || exit 1
|
||||
wallpaper=$(fd -p "$walldir" | $RUNNER -l 5 -i -p "[ Wallpaper Selector] ")
|
||||
wallpaper=$(/bin/ls | sort -n | $RUNNER -l 5 -i -p "[ Wallpaper Selector] ")
|
||||
if [ -n "$wallpaper" ]; then
|
||||
if [[ "$wallpaper" == *.jpg ]]; then
|
||||
rm -f "$HOME/.config/sway/wallpaper/"*
|
||||
|
|
Loading…
Reference in a new issue