- more than one filter makes the parser break down

was apparently caused by the way i typed it in (using tabs instead of several whitespaces). after copying a known working
filters:
        - HasAttr ...
part, the parser went through.
not quite intuitive, but once you know it ...

my rule now is

trigger: IdleState()
filters:
         - HasAttr(status, "suspend")
         - Not(CallListContains("active"))
actions: Suspend()

and indeed does not suspend when a call is going on, but does once it's finished.

_______________________________________________
Smartphones-userland mailing list
Smartphones-userland@linuxtogo.org
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/smartphones-userland

Reply via email to