You are not logged in.
I want to use XFCE's genmon plugin to show Conky's terminal output. I seem to have two options:
Run Conky in run-once mode, which doesn't give good readings
Run Conky from a script, writing its output to a named pipe and using a separate script to read from the pipe, but the latter script kills Conky with a SIGPIPE when the read exits
So, obviously, neither of these options work. Here are my scripts:
The script to start Conky:
#!/bin/bash
conky -c conkyrc > fifo
The script to read Conky's output:
#!/bin/bash
read LINE < fifo
echo $LINE
Last edited by cardinal-biggles (2013-09-21 21:10:49)
Offline
Try using while, something like:
while read LINE; do
echo $LINE
done < fifo
You're just jealous because the voices only talk to me.
Offline