mirror of
https://github.com/lcpz/awesome-copycats.git
synced 2024-12-22 19:22:32 +00:00
#157 fix
This commit is contained in:
parent
bf49750d81
commit
77ca4f0813
|
@ -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::selected", function () update_txt_layoutbox(s) end)
|
||||||
awful.tag.attached_connect_signal(s, "property::layout", 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(
|
s.mytxtlayoutbox:buttons(awful.util.table.join(
|
||||||
awful.button({}, 1, function() awful.layout.inc(layouts, 1) end),
|
awful.button({}, 1, function() awful.layout.inc(1) end),
|
||||||
awful.button({}, 3, function() awful.layout.inc(layouts, -1) end),
|
awful.button({}, 3, function() awful.layout.inc(-1) end),
|
||||||
awful.button({}, 4, function() awful.layout.inc(layouts, 1) end),
|
awful.button({}, 4, function() awful.layout.inc(1) end),
|
||||||
awful.button({}, 5, function() awful.layout.inc(layouts, -1) end)))
|
awful.button({}, 5, function() awful.layout.inc(-1) end)))
|
||||||
|
|
||||||
-- Create a taglist widget
|
-- Create a taglist widget
|
||||||
s.mytaglist = awful.widget.taglist(s, awful.widget.taglist.filter.all, awful.util.taglist_buttons)
|
s.mytaglist = awful.widget.taglist(s, awful.widget.taglist.filter.all, awful.util.taglist_buttons)
|
||||||
|
|
|
@ -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::selected", function () update_txt_layoutbox(s) end)
|
||||||
awful.tag.attached_connect_signal(s, "property::layout", 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(
|
s.mytxtlayoutbox:buttons(awful.util.table.join(
|
||||||
awful.button({}, 1, function() awful.layout.inc(layouts, 1) end),
|
awful.button({}, 1, function() awful.layout.inc(1) end),
|
||||||
awful.button({}, 3, function() awful.layout.inc(layouts, -1) end),
|
awful.button({}, 3, function() awful.layout.inc(-1) end),
|
||||||
awful.button({}, 4, function() awful.layout.inc(layouts, 1) end),
|
awful.button({}, 4, function() awful.layout.inc(1) end),
|
||||||
awful.button({}, 5, function() awful.layout.inc(layouts, -1) end)))
|
awful.button({}, 5, function() awful.layout.inc(-1) end)))
|
||||||
|
|
||||||
-- Create a taglist widget
|
-- Create a taglist widget
|
||||||
s.mytaglist = awful.widget.taglist(s, awful.widget.taglist.filter.all, awful.util.taglist_buttons)
|
s.mytaglist = awful.widget.taglist(s, awful.widget.taglist.filter.all, awful.util.taglist_buttons)
|
||||||
|
|
Loading…
Reference in a new issue