xssstate

a simple utility to get the X screensaver state
git clone git://git.suckless.org/xssstate
Log | Files | Refs | README | LICENSE

commit f58232beb295b70a15a93c75414781a80fe542cd
parent cd05e2ae0c3004128a70b7d2b726454c5dbc1b50
Author: Phil Pirozhkov <pirjsuka@gmail.com>
Date:   Sat, 11 Oct 2014 11:42:47 +0400

Pass parameters over to cmd, e.g.:

    xsidle.sh ls -l /usr

Signed-off-by: Christoph Lohmann <20h@r-36.net>

Diffstat:
Mxsidle.sh | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/xsidle.sh b/xsidle.sh @@ -8,7 +8,7 @@ then printf "usage: %s cmd\n" "$(basename $0)" 2>&1 exit 1 fi -cmd="$1" +cmd="$@" while true do