blink AUX or power light while suspended?

Sebastian Krzyszkowiak seba.dos1 at gmail.com
Mon Aug 31 21:48:51 CEST 2009


On 8/31/09, Michal Brzozowski <rusolis at poczta.fm> wrote:
> 2009/8/31 Sebastian Krzyszkowiak <seba.dos1 at gmail.com>
>
>
>> -
>>    while: NewMissedCalls()
>>    actions: SetLed("gta02_aux_red", "blink")
>> -
>>    while: UnreadMessages()
>>    actions: SetLed("gta02_aux_red", "blink")
>> -
>>
>> In rules.yaml. Of course instead of SetLed you can use other commands :)
>>
>
> This may be a stupid question, but how does opimd know that the user has or
> hasn't read a message?

By MessageRead field. When it's 1, it's read, when it's 0 it's unread.
Look how opimd-notifier works.

The same for calls, but with New field.

-- 
Sebastian Krzyszkowiak
dos



More information about the community mailing list