/i3-tree

Primary LanguageGoMIT LicenseMIT

i3-tree

like tree, but for i3

install

install with

go get github.com/eh-am/i3-tree

running

> i3-tree

[root] root
└──[output][output] HDMI-1
   └──[workspace][splith] 6
      ├──[con][splitv] 
      │  └──[con] VLC media player
      └──[con][splitv] 
         ├──[con] /bin/bash
         └──[con] /bin/bash

Output example

help

> i3-tree --help

USAGE
  i3-tree

i3-tree generates a user friendly view of the i3 tree

EXAMPLES
# display focused workspace
i3-tree

# display all non empty workspaces
i3-tree all

# show a specific workspace (for example, workspace 6)
i3-tree 6

# show focused workspace, with no colors
i3-tree --render=no-color

# use mock data (useful if you don't have i3 running)
i3-tree --from=mock


FLAGS
  -from i3         where to fetch the tree from. available: [i3 mock]
  -render console  where/how to render the output to. available: [console no-color]