Add cmds new_window and new_float

Makes it possible to set default layout style for new windows and new
floating windows.

Close #556
This commit is contained in:
Mikkel Oscar Lyderik 2016-03-31 12:17:21 +02:00
parent 6db92bbb99
commit 7be476c115
5 changed files with 114 additions and 24 deletions

View file

@ -187,7 +187,9 @@ static void config_defaults(struct sway_config *config) {
// borders
config->border = B_NORMAL;
config->floating_border = B_NORMAL;
config->border_thickness = 2;
config->floating_border_thickness = 2;
config->hide_edge_borders = E_NONE;
// border colors