Skip to content

Latest commit

 

History

History
26 lines (16 loc) · 823 Bytes

README.md

File metadata and controls

26 lines (16 loc) · 823 Bytes

i3 layout viewer

npm version

The i3 window manager allows to save the layout in a JSON file.

This tool converts this JSON file to a DOT file (see GraphViz tool).

example layout

To actually visualize the graph, you'll need a viewer like xdot. So the full chain is:

i3-save-tree | i3-layout-to-dot | xdot -

This tool was inspired by this video.

Install

As root:

# npm install -g i3-layout-viewer