i3wm selectors

powerline.selectors.i3wm.channel_empty(channel_name)[source]

Returns True while the specified channel is empty or does not exist

Parameters:channel_name (string) – The channel to check.
powerline.selectors.i3wm.channel_full(channel_name)[source]

Returns True while the specified channel exists and is filled with any value.

Parameters:channel_name (string) – The channel to check.
powerline.selectors.i3wm.channel_has_value(channel_name, value)[source]

Returns True while the specified channel is filled with the specified value

Parameters:
  • channel_name (string) – The channel to check.
  • value (string) – The value to check against.
powerline.selectors.i3wm.output(target_outputs)[source]

Returns True if the current output rendered to is contained in target_output

Parameters:target_outputs (list) – The outputs to filter.