summaryrefslogtreecommitdiff
path: root/rc.lua
diff options
context:
space:
mode:
Diffstat (limited to 'rc.lua')
-rw-r--r--rc.lua5
1 files changed, 1 insertions, 4 deletions
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