From 77ca4f08132b877adfdca386119e8c20a7d7440c Mon Sep 17 00:00:00 2001 From: copycat-killer Date: Sat, 4 Feb 2017 17:54:12 +0100 Subject: [PATCH] #157 fix --- themes/rainbow/theme.lua | 8 ++++---- themes/steamburn/theme.lua | 8 ++++---- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/themes/rainbow/theme.lua b/themes/rainbow/theme.lua index 94905b9..d92a1a5 100644 --- a/themes/rainbow/theme.lua +++ b/themes/rainbow/theme.lua @@ -229,10 +229,10 @@ function theme.at_screen_connect(s) awful.tag.attached_connect_signal(s, "property::selected", function () update_txt_layoutbox(s) end) awful.tag.attached_connect_signal(s, "property::layout", function () update_txt_layoutbox(s) end) s.mytxtlayoutbox:buttons(awful.util.table.join( - awful.button({}, 1, function() awful.layout.inc(layouts, 1) end), - awful.button({}, 3, function() awful.layout.inc(layouts, -1) end), - awful.button({}, 4, function() awful.layout.inc(layouts, 1) end), - awful.button({}, 5, function() awful.layout.inc(layouts, -1) end))) + awful.button({}, 1, function() awful.layout.inc(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))) -- Create a taglist widget s.mytaglist = awful.widget.taglist(s, awful.widget.taglist.filter.all, awful.util.taglist_buttons) diff --git a/themes/steamburn/theme.lua b/themes/steamburn/theme.lua index c89808f..d0ee24e 100644 --- a/themes/steamburn/theme.lua +++ b/themes/steamburn/theme.lua @@ -223,10 +223,10 @@ function theme.at_screen_connect(s) awful.tag.attached_connect_signal(s, "property::selected", function () update_txt_layoutbox(s) end) awful.tag.attached_connect_signal(s, "property::layout", function () update_txt_layoutbox(s) end) s.mytxtlayoutbox:buttons(awful.util.table.join( - awful.button({}, 1, function() awful.layout.inc(layouts, 1) end), - awful.button({}, 3, function() awful.layout.inc(layouts, -1) end), - awful.button({}, 4, function() awful.layout.inc(layouts, 1) end), - awful.button({}, 5, function() awful.layout.inc(layouts, -1) end))) + awful.button({}, 1, function() awful.layout.inc(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))) -- Create a taglist widget s.mytaglist = awful.widget.taglist(s, awful.widget.taglist.filter.all, awful.util.taglist_buttons)