Update script/status.sh example

This commit is contained in:
Martin Duquesnoy 2012-01-16 19:03:09 +01:00
parent beebb65c29
commit a9356c834b

View File

@ -1,11 +1,15 @@
#!/bin/sh #!/bin/sh
#WMFS status.sh example file #WMFS status.sh example file
#Will be executed if put in ~/.config/wmfs/
#Timing adjustable in wmfsrc (misc -> status_timing) TIMING=10
statustext() 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