Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
gentoo animated wallpaper
#!/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