Add config option workspace_layout

This implements the config parsing of
`workspace_layout <default|stacking|tabbed>`

http://i3wm.org/docs/userguide.html#_layout_mode_for_new_containers
This commit is contained in:
Mikkel Oscar Lyderik 2016-03-19 00:50:26 +01:00
parent a8e1ca75d0
commit 9a04f9d8d6
2 changed files with 24 additions and 1 deletions

View file

@ -15,7 +15,7 @@ A sway configuration file is a list of sway commands that are executed by sway
on startup. These commands usually consist of setting your preferences and
setting key bindings. An example config is likely present in /etc/sway/config
for you to check out.
Some of the commands can also or only be sent at runtime with **sway-msg**(1).
Commands
@ -208,6 +208,9 @@ or triggered at runtime.
Specifies that the workspace named _name_ should appear on the specified
_output_.
**workspace_layout** <default|stacking|tabbed>::
Specifies the start layout for new workspaces.
Criteria
--------