]> git.phdru.name Git - xsetbg.git/commitdiff
Without a pinger there is no need to test for full-screen programs.
authorOleg Broytman <phd@phdru.name>
Sun, 7 Feb 2010 12:23:57 +0000 (12:23 +0000)
committerOleg Broytman <phd@phdru.name>
Sun, 7 Feb 2010 12:23:57 +0000 (12:23 +0000)
git-svn-id: file:///home/phd/archive/SVN/xsetbg/trunk@37 143022c7-580b-0410-bae3-87f2bf5d3141

xsetbg-ping

index d064b129727850e7effa911f64a2d0805e464443..3c113494e2a26d8207e0bd85f86270b434e473a4 100755 (executable)
@@ -1,15 +1,2 @@
 #! /bin/sh
-
-if [ -z "$DISPLAY" ]; then
-   exit 0
-fi
-
-if xscreensaver-command -time 2>/dev/null | grep -Eq 'screen (blanked|locked)'; then
-   exit 0
-fi
-
-if ps a | grep -v grep | grep -q mplayer; then
-   exit 0
-fi
-
 exec wget -q -Y off -O /dev/null http://localhost:7999/ping