mirror of
https://github.com/km4ack/pi-scripts
synced 2026-08-13 17:52:05 -04:00
22 lines
218 B
Bash
22 lines
218 B
Bash
#!/bin/bash
|
|
|
|
#get freq of radio to display in conky
|
|
#20191217 km4ack
|
|
|
|
source $HOME/patmenu/config
|
|
|
|
MAIN () {
|
|
|
|
FREQ=$($RIG f)
|
|
FREQCH=$(echo $FREQ | grep error)
|
|
|
|
if [ -z "$FREQCH" ]
|
|
then
|
|
echo $FREQ
|
|
else
|
|
MAIN
|
|
fi
|
|
|
|
}
|
|
|
|
MAIN
|