From f481763925753407cd43d4bc2b07f9131ba9e2a8 Mon Sep 17 00:00:00 2001 From: Anton Khirnov Date: Tue, 3 Jul 2018 12:04:04 +0200 Subject: rc: remove an unnecessary global pager table --- rc.lua | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'rc.lua') diff --git a/rc.lua b/rc.lua index 7feaea2..1d5753a 100644 --- a/rc.lua +++ b/rc.lua @@ -73,8 +73,6 @@ mytextclock = wibox.widget.textclock() mywibox = {} mypromptbox = {} -mytasklist = {} - for s in screen do -- Create a promptbox for each screen mypromptbox[s] = awful.widget.prompt() @@ -90,7 +88,6 @@ for s in screen do -- Create a tasklist widget local pgr = pager.Pager:new(s, 128, 800) pgr:set_desktop(workspace.desktops[1]) - mytasklist[s] = pgr workspace.signals:connect_signal("desktop:view", function(signals, view_screen, desktop) @@ -113,7 +110,7 @@ for s in screen do -- Now bring it all together (with the tasklist in the middle) local layout = wibox.layout.align.vertical() layout:set_top(left_layout) - layout:set_middle(mytasklist[s]) + layout:set_middle(pgr) layout:set_bottom(right_layout) -- Create the wibox -- cgit v1.2.3