From 26ac925b7f6365dddfd8a6bafde2ae01b7659a5d Mon Sep 17 00:00:00 2001 From: Manuel Palenzuela Date: Sun, 18 Aug 2019 15:51:47 +0200 Subject: Fixed xwinwrap writing above fullscreen windows --- smart-wallpaper | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/smart-wallpaper b/smart-wallpaper index 8ad06ac..29253b0 100755 --- a/smart-wallpaper +++ b/smart-wallpaper @@ -43,10 +43,10 @@ set_wallpaper() { if [ -f /usr/bin/xwinwrap ]; then if [ -f /usr/bin/gifview ] && [[ $1 == *".gif" ]]; then echo "gifsicle --resize $resolution \$1 | gifview --animate -w \$2" > /tmp/smart-wallpaper-gifcmd - xwinwrap -ov -ni -g $resolution -- sh /tmp/smart-wallpaper-gifcmd $1 WID & + xwinwrap -ov -ni -s -nf -un -arbg -g $resolution -- sh /tmp/smart-wallpaper-gifcmd $1 WID & procid=$! elif [ -f /usr/bin/mpv ] && [[ $1 == *".mp4" ]] || [[ $1 == *".mov" ]] || [[ $1 == *".avi" ]] || [[ $1 == *".wav" ]]; then - xwinwrap -ni -ov -g $resolution -- mpv --fullscreen --on-all-workspaces --no-config --no-input-default-bindings --no-stop-screensaver --loop-file --no-audio --no-osc --no-osd-bar -wid WID --quiet $1 & + xwinwrap -ni -ov -ni -s -nf -un -arbg -g $resolution -- mpv --fullscreen --on-all-workspaces --no-config --no-input-default-bindings --no-stop-screensaver --loop-file --no-audio --no-osc --no-osd-bar -wid WID --quiet $1 & procid=$! else feh --bg-fill $1 -- cgit 1.4.1