fix(bing-wallpaper): change command name from swww to awww
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
#!/bin/sh -e
|
||||
if [[ ! -x /usr/bin/swww ]]; then
|
||||
echo "required swww please install with yay -S swww" >&2
|
||||
if [[ ! -x /usr/bin/awww ]]; then
|
||||
echo "required awww please install with yay -S awww" >&2
|
||||
exit 0
|
||||
fi
|
||||
|
||||
@@ -40,7 +40,7 @@ if [[ ! -f "$file_path" ]]; then
|
||||
fi
|
||||
|
||||
ln -nsf $file_path $CURRENT_BACKGROUND_LINK && \
|
||||
setsid uwsm app -- swww img $CURRENT_BACKGROUND_LINK && \
|
||||
setsid uwsm app -- awww img $CURRENT_BACKGROUND_LINK && \
|
||||
exit 0
|
||||
|
||||
# return exitcode if above crashed
|
||||
|
||||
Reference in New Issue
Block a user