From a9356c834b2abc6fc0f012f337b40da8c1c39f6f Mon Sep 17 00:00:00 2001 From: Martin Duquesnoy Date: Mon, 16 Jan 2012 19:03:09 +0100 Subject: [PATCH] Update script/status.sh example --- scripts/status.sh | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/scripts/status.sh b/scripts/status.sh index c55580e..a53f813 100755 --- a/scripts/status.sh +++ b/scripts/status.sh @@ -1,11 +1,15 @@ #!/bin/sh #WMFS status.sh example file -#Will be executed if put in ~/.config/wmfs/ -#Timing adjustable in wmfsrc (misc -> status_timing) + +TIMING=10 statustext() { - wmfs -s "`date`" + echo "status default `date`" > /tmp/wmfs-$DISPLAY.fifo } -while true; do statustext; sleep 10; done +while true; +do + statustext + sleep $TIMING +done