From 1a7bac8b82fadbb42bb2b0d054b4a429af239278 Mon Sep 17 00:00:00 2001 From: Sorky <43520033+Sorky@users.noreply.github.com> Date: Sun, 4 Nov 2018 17:17:22 +1100 Subject: [PATCH] Update theme.lua --- themes/rainbow/theme.lua | 1 + 1 file changed, 1 insertion(+) diff --git a/themes/rainbow/theme.lua b/themes/rainbow/theme.lua index 5817663..3402c5e 100644 --- a/themes/rainbow/theme.lua +++ b/themes/rainbow/theme.lua @@ -231,6 +231,7 @@ function theme.at_screen_connect(s) awful.tag.attached_connect_signal(s, "property::layout", function () update_txt_layoutbox(s) end) s.mytxtlayoutbox:buttons(my_table.join( awful.button({}, 1, function() awful.layout.inc(1) end), + awful.button({}, 2, function () awful.layout.set( awful.layout.layouts[1] ) end), awful.button({}, 3, function() awful.layout.inc(-1) end), awful.button({}, 4, function() awful.layout.inc(1) end), awful.button({}, 5, function() awful.layout.inc(-1) end)))