diff options
author | Peter Palfrader <peter@palfrader.org> | 2017-02-20 11:49:17 +0100 |
---|---|---|
committer | Peter Palfrader <peter@palfrader.org> | 2017-02-20 11:49:17 +0100 |
commit | 5a7be9c779b9ae12d3f874f87a72f964ec1dc64e (patch) | |
tree | 3abcfd2b61605a1498209884b7aedd9293240ac8 | |
parent | 64da10a82a882e76a0c1bd948773901ac9c82771 (diff) |
Also do not use deprecated setncol, setnmaster functions
-rw-r--r-- | config/awesome/rc.lua | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/config/awesome/rc.lua b/config/awesome/rc.lua index b1ec61f..96a2517 100644 --- a/config/awesome/rc.lua +++ b/config/awesome/rc.lua @@ -271,10 +271,10 @@ globalkeys = awful.util.table.join( awful.key({ modkey, "Control" }, "h", function () awful.tag.incncol(-1) end), awful.key({ modkey, "Control" }, "l", function () awful.tag.incncol( 1) end), awful.key({ modkey, "Control" }, "space", function () - awful.tag.setncol(1) - awful.tag.setnmaster(1) - -- awful.tag.setmwfact(0.50) - awful.tag.incmwfact( 0.5 - awful.tag.getmwfact() ) + local t = awful.screen.focused().selected_tag + t.master_count = 1 + t.column_count = 1 + t.master_width_factor = 0.5 awful.layout.set(layouts[1]) end), |