From e721cb6c438a331697916deae8fd7e47b45b30dd Mon Sep 17 00:00:00 2001 From: Oleg Broytman Date: Sun, 7 Feb 2010 12:23:57 +0000 Subject: [PATCH] Without a pinger there is no need to test for full-screen programs. git-svn-id: file:///home/phd/archive/SVN/xsetbg/trunk@37 143022c7-580b-0410-bae3-87f2bf5d3141 --- xsetbg-ping | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/xsetbg-ping b/xsetbg-ping index d064b12..3c11349 100755 --- a/xsetbg-ping +++ b/xsetbg-ping @@ -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 -- 2.39.2