diff --git a/awesomerc.lua b/awesomerc.lua index d01f13cee..411377ded 100644 --- a/awesomerc.lua +++ b/awesomerc.lua @@ -135,8 +135,8 @@ screen.connect_signal("request::desktop_decoration", function(s) buttons = { 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), + awful.button({ }, 4, function () awful.layout.inc(-1) end), + awful.button({ }, 5, function () awful.layout.inc( 1) end), } } @@ -157,8 +157,8 @@ screen.connect_signal("request::desktop_decoration", function(s) client.focus:toggle_tag(t) end end), - awful.button({ }, 4, function(t) awful.tag.viewnext(t.screen) end), - awful.button({ }, 5, function(t) awful.tag.viewprev(t.screen) end), + awful.button({ }, 4, function(t) awful.tag.viewprev(t.screen) end), + awful.button({ }, 5, function(t) awful.tag.viewnext(t.screen) end), } } @@ -172,8 +172,8 @@ screen.connect_signal("request::desktop_decoration", function(s) c:activate { context = "tasklist", action = "toggle_minimization" } end), awful.button({ }, 3, function() awful.menu.client_list { theme = { width = 250 } } end), - awful.button({ }, 4, function() awful.client.focus.byidx( 1) end), - awful.button({ }, 5, function() awful.client.focus.byidx(-1) end), + awful.button({ }, 4, function() awful.client.focus.byidx(-1) end), + awful.button({ }, 5, function() awful.client.focus.byidx( 1) end), } } @@ -207,8 +207,8 @@ end) -- @DOC_ROOT_BUTTONS@ awful.mouse.append_global_mousebindings({ awful.button({ }, 3, function () mymainmenu:toggle() end), - awful.button({ }, 4, awful.tag.viewnext), - awful.button({ }, 5, awful.tag.viewprev), + awful.button({ }, 4, awful.tag.viewprev), + awful.button({ }, 5, awful.tag.viewnext), }) -- }}}