diff options
author | Mikkel Oscar Lyderik <mikkeloscar@gmail.com> | 2016-03-31 12:17:21 +0200 |
---|---|---|
committer | Mikkel Oscar Lyderik <mikkeloscar@gmail.com> | 2016-03-31 12:42:20 +0200 |
commit | 7be476c115d4890f15503853aa36cf0059c8fca8 (patch) | |
tree | 07a3e095719d9bfbd2206e17e33e4abade2bf86d /sway/sway.5.txt | |
parent | Merge pull request #558 from crondog/swaybarexit (diff) | |
download | sway-7be476c115d4890f15503853aa36cf0059c8fca8.tar.gz sway-7be476c115d4890f15503853aa36cf0059c8fca8.tar.zst sway-7be476c115d4890f15503853aa36cf0059c8fca8.zip |
Add cmds new_window and new_float
Makes it possible to set default layout style for new windows and new
floating windows.
Close #556
Diffstat (limited to 'sway/sway.5.txt')
-rw-r--r-- | sway/sway.5.txt | 17 |
1 files changed, 12 insertions, 5 deletions
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. | |||
44 | They are expected to be used with **bindsym** or at runtime through **swaymsg**(1). | 44 | They are expected to be used with **bindsym** or at runtime through **swaymsg**(1). |
45 | 45 | ||
46 | **border** <normal|pixel> [<n>]:: | 46 | **border** <normal|pixel> [<n>]:: |
47 | Set border style for windows. _normal_ includes a border of thickness _n_ and | 47 | Set border style for focused window. _normal_ includes a border of thickness |
48 | a title bar. _pixel_ is just the border without title bar. Default is _normal_ | 48 | _n_ and a title bar. _pixel_ is just the border without title bar. Default is |
49 | with border thickness 2. | 49 | _normal_ with border thickness 2. |
50 | 50 | ||
51 | **border** <none|toggle>:: | 51 | **border** <none|toggle>:: |
52 | Set border style to _none_ or _toggle_ between the available border styles: | 52 | Set border style for focused window to _none_ or _toggle_ between the |
53 | _normal_, _pixel_, _none_. | 53 | available border styles: _normal_, _pixel_, _none_. |
54 | |||
55 | **new_window** <normal|none|pixel> [<n>]:: | ||
56 | Set default border style for new windows. | ||
57 | |||
58 | **new_float** <normal|none|pixel> [<n>]:: | ||
59 | Set default border style for new floating windows. This does only apply to | ||
60 | windows that are spawned in floating mode. | ||
54 | 61 | ||
55 | **exit**:: | 62 | **exit**:: |
56 | Exit sway and end your Wayland session. | 63 | Exit sway and end your Wayland session. |