From 7be476c115d4890f15503853aa36cf0059c8fca8 Mon Sep 17 00:00:00 2001 From: Mikkel Oscar Lyderik Date: Thu, 31 Mar 2016 12:17:21 +0200 Subject: Add cmds new_window and new_float Makes it possible to set default layout style for new windows and new floating windows. Close #556 --- sway/sway.5.txt | 17 ++++++++++++----- 1 file changed, 12 insertions(+), 5 deletions(-) (limited to 'sway/sway.5.txt') diff --git a/sway/sway.5.txt b/sway/sway.5.txt index 2eb0276c..a2570dcd 100644 --- a/sway/sway.5.txt +++ b/sway/sway.5.txt @@ -44,13 +44,20 @@ The following commands cannot be used directly in the configuration file. They are expected to be used with **bindsym** or at runtime through **swaymsg**(1). **border** []:: - Set border style for windows. _normal_ includes a border of thickness _n_ and - a title bar. _pixel_ is just the border without title bar. Default is _normal_ - with border thickness 2. + Set border style for focused window. _normal_ includes a border of thickness + _n_ and a title bar. _pixel_ is just the border without title bar. Default is + _normal_ with border thickness 2. **border** :: - Set border style to _none_ or _toggle_ between the available border styles: - _normal_, _pixel_, _none_. + Set border style for focused window to _none_ or _toggle_ between the + available border styles: _normal_, _pixel_, _none_. + +**new_window** []:: + Set default border style for new windows. + +**new_float** []:: + Set default border style for new floating windows. This does only apply to + windows that are spawned in floating mode. **exit**:: Exit sway and end your Wayland session. -- cgit v1.2.3