[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
blinking hardstatus based on flags
From: |
address@hidden |
Subject: |
blinking hardstatus based on flags |
Date: |
Thu, 22 Mar 2007 11:32:56 +0100 (CET) |
User-agent: |
SquirrelMail/1.4.8 |
> Is their a way in which I could have the name or flag blink in certain
> scenarios? For example, if there has been activity, I currently see:
> address@hidden bash
> I would love to make the @ stand out more.
Maybe something like this will work, if integrated with your own
hardstatus setup.
address@hidden> cat blinker
blink=`cat $HOME/.blink`
if [ "$blink" = "0" ]
then
echo 1 > $HOME/.blink
echo $1
else
echo 0 > $HOME/.blink
echo $2
fi
address@hidden> grep -e backtick -e '%1`' .screenrc
hardstatus string "%1` hardstatus %1`"
backtick 1 1 1 /home/luteijn/blinker "+" "x"
address@hidden>
Regards,
Pieter.