i3tree

command module
v1.0.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 26, 2023 License: MIT Imports: 7 Imported by: 0

README

I3Tree

Generates the i3 window manager node tree in a text or graphwiz format.

Parameters

-dot

Generate graphwiz format:

./i3tree -dot | dot -Tsvg -o a.svg && xdg-open a.svg
-template

Default template to render the node name:

[{{.Type}} {{.Layout}}] {{.Name}}

Override the default template:

./i3tree -template '{{.Name}}'

Example output

text
| [root splith] root
|  | [output output] __i3
|  |  | [con splith] content
|  |  |  | [workspace splith] __i3_scratch
|  | [output output] HDMI-1
|  |  | [dockarea dockarea] topdock
|  |  | [con splith] content
|  |  |  | [workspace splith] 01
|  |  |  |  | [con splitv]
|  |  |  |  |  | [con splith]
|  |  |  |  |  |  | [con splith]
|  |  |  |  |  |  |  | [con tabbed]
|  |  |  |  |  |  |  |  | [con splith] work:12.0 i3tree zsh
|  |  |  |  |  |  |  |  | [con splith] Editing i3tree/README.md at master · Ajnasz/i3tree — Firefox Developer Edition
|  |  |  | [workspace splith] 02 >_ mutt/irssi
|  |  |  |  | [con splith] comm:0.0 mutt
|  |  |  | [workspace splith] 03   Telegram
|  |  |  |  | [con splith] Telegram (9)
|  |  |  | [workspace splith] 04   Spotify
|  |  |  |  | [con splith] Spotify
|  |  |  | [workspace splith] 10 KeePassXC
|  |  |  |  | [con splith] KeePassXC
|  |  | [dockarea dockarea] bottomdock
|  |  |  | [con splith] i3bar for output HDMI-1

SVG

a

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
Package dot package implements routine to print I3Node tree in a graphwiz digraph format
Package dot package implements routine to print I3Node tree in a graphwiz digraph format
Package i3ipcnode contains utility method to manage i3ipc.Nodes
Package i3ipcnode contains utility method to manage i3ipc.Nodes
Package tpl implements utility function to render a go template into a string
Package tpl implements utility function to render a go template into a string
Package tree package implements routine to print I3Node tree in a simple ascii tree
Package tree package implements routine to print I3Node tree in a simple ascii tree

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL