parameters: ()
docstring: Puts firefox to sleep when it loses focus
docstring_summary: Puts firefox to sleep when it loses focus
docstring_tokens: Puts firefox to sleep when it loses focus
function: def tamefox():
      """ Puts firefox to sleep when it loses focus """
      alive = True
      ff_pid = None
      for property, window, pid, event in watch(['_NET_ACTIVE_WINDOW']):
          title = window.get_full_property(Xatom.WM_NAME, Xatom.STRING).value
          print title
function_tokens: def tamefox ( ) : alive = True ff_pid = None for property , window , pid , event in watch ( [ '_NET_ACTIVE_WINDOW' ] ) : title = window . get_full_property ( Xatom . WM_NAME , Xatom . STRING ) . value print title