diff options
Diffstat (limited to 'scripts/Scripts/setwall')
-rwxr-xr-x | scripts/Scripts/setwall | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/scripts/Scripts/setwall b/scripts/Scripts/setwall index f385623..2a99564 100755 --- a/scripts/Scripts/setwall +++ b/scripts/Scripts/setwall @@ -32,10 +32,16 @@ function setwalls() { } function applywall() { + set -x echo applying wallpaper $1 rm $WALLLINK ln -s $(pwd)/$1 $WALLLINK - feh --bg-fill $1 + if [ -z "${WAYLAND_DISPLAY}" ]; then + feh --bg-fill $1 + else + killall swaybg + swaybg -m fill -i $1 & + fi } function help() { |