about summary refs log tree commit diff
diff options
context:
space:
mode:
authorManuel Palenzuela <manuelpalenzuelamerino@gmail.com>2019-08-21 15:19:25 +0200
committerManuel Palenzuela <manuelpalenzuelamerino@gmail.com>2019-08-21 15:19:25 +0200
commit0682f628d7986f578b44baefdc44cb5d6250da4f (patch)
tree0a23e777c8d6d8169c91a8de6d27cf6cbd156a9b
parentFixed xwinwrap writing above fullscreen windows (diff)
downloadsmart-wallpaper-0682f628d7986f578b44baefdc44cb5d6250da4f.tar.gz
smart-wallpaper-0682f628d7986f578b44baefdc44cb5d6250da4f.tar.bz2
smart-wallpaper-0682f628d7986f578b44baefdc44cb5d6250da4f.zip
Fixed wrong option in xwinwrap
-rwxr-xr-xsmart-wallpaper4
1 files changed, 2 insertions, 2 deletions
diff --git a/smart-wallpaper b/smart-wallpaper
index 29253b0..33f976b 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 -s -nf -un -arbg -g $resolution -- sh /tmp/smart-wallpaper-gifcmd $1 WID &
+      xwinwrap -ov -ni -s -nf -un -argb -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 -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 &
+      xwinwrap -ni -ov -ni -s -nf -un -argb -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