mirror of
https://github.com/dustinkirkland/byobu
synced 2025-08-22 14:24:39 -07:00
support testing just one notification
Signed-off-by: Dustin Kirkland <kirkland@canonical.com>
This commit is contained in:
parent
5b85170a86
commit
1bd2255ced
1 changed files with 6 additions and 1 deletions
|
@ -9,7 +9,12 @@ loop() {
|
||||||
}
|
}
|
||||||
|
|
||||||
TIMEFORMAT="%R"
|
TIMEFORMAT="%R"
|
||||||
for i in $(ls bin); do
|
if [ -n "$1" ]; then
|
||||||
|
list="$1"
|
||||||
|
else
|
||||||
|
list=$(ls bin)
|
||||||
|
fi
|
||||||
|
for i in $list; do
|
||||||
freq=`grep "byobu-status $i" ./profiles/common | awk '{print $3}'`
|
freq=`grep "byobu-status $i" ./profiles/common | awk '{print $3}'`
|
||||||
echo -n "$i $freq "
|
echo -n "$i $freq "
|
||||||
time loop $i
|
time loop $i
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue