Update script/status.sh example
This commit is contained in:
parent
beebb65c29
commit
a9356c834b
@ -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
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user