Created
February 24, 2014 02:31
-
-
Save 666threesixes666/9180979 to your computer and use it in GitHub Desktop.
gentoo animated wallpaper
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
DM=xfdesktop | |
WALLPAPER=/usr/lib64/misc/xscreensaver/cubicgrid | |
while ! [ $(pgrep -c $DM) = '1' ];do | |
sleep 1 | |
done | |
$WALLPAPER -window-id $(xwininfo -name "Desktop" | grep 'Window id' | sed 's/.*\(0x[0-9a-z]*\).*/\1/g') & |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment