i3wm segments¶
-
powerline.segments.i3wm.mode(names={u'default': None})[source]¶ Returns current i3 mode
Parameters: names (dict) – Specifies the string to show for various modes. Use nullto hide a mode (defaultis hidden by default).Highligh groups used:
mode
-
powerline.segments.i3wm.workspaces(strip=0, output=None, only_show=None)[source]¶ Return list of used workspaces
Parameters: - only_show (list) – Specifies which workspaces to show. Valid entries are
"visible","urgent"and"focused". If omitted ornullall workspaces are shown. - output (str) – If specified, only workspaces on this output are shown.
- strip (int) – Specifies how many characters from the front of each workspace name should be stripped (e.g. to remove workspace numbers). Defaults to zero.
Highlight groups used:
workspaceorw_visible,workspaceorw_focused,workspaceorw_urgent.- only_show (list) – Specifies which workspaces to show. Valid entries are