Commit Graph

7 Commits

Author SHA1 Message Date
Ingo Bürk 0e0581c6cb Allow referencing the workspace by number.
This allows "--workspace 3" for numbered workspaces, e.g., if the name is actually
"3:foo". This introduces the same functionality the IPC already offers in many places.
2015-03-21 17:10:20 +01:00
Ingo Bürk 80f119f0e2 adapted usage text 2015-03-19 18:59:25 +01:00
Ingo Bürk d217cddb42 Make the --workspace optional by defaulting to the focused workspace.
If no option is given, i3-save-tree should default to the currently focused workspace.
Specifying both --workspace and --output will still yield an error.
2015-03-18 21:37:37 +01:00
Marein Konings 29a832a160 Add 'mark' as allowed key to i3-save-tree output 2015-01-25 19:37:25 +01:00
Michael Stapelberg ad7bf58822 Bugfix: interpret commandline parameters as utf-8
fixes #1293
2014-06-25 10:00:23 +02:00
Michael Stapelberg bb482e2869 i3-save-tree: only create "swallows" key for leaf nodes (Thanks xeen)
fixes #1149
2014-01-05 20:10:24 +01:00
Michael Stapelberg 12885cb0ab add i3-save-tree(1) which dumps the layout of a workspace or an output 2013-12-22 21:52:49 +01:00