summaryrefslogtreecommitdiff
path: root/rc.lua
diff options
context:
space:
mode:
Diffstat (limited to 'rc.lua')
-rw-r--r--rc.lua9
1 files changed, 1 insertions, 8 deletions
diff --git a/rc.lua b/rc.lua
index 011218f..78379e2 100644
--- a/rc.lua
+++ b/rc.lua
@@ -97,16 +97,9 @@ for s in screen do
layout_utils:add(layoutbox_container)
-- Create a tasklist widget
- local pgr = pager.Pager:new(s)
+ local pgr = pager.Pager:new(wsp, s)
pgr:set_desktop(wsp.desktops[s.index])
- wsp.signals:connect_signal("desktop:view",
- function(signals, view_screen, desktop)
- if view_screen == s then
- pgr:set_desktop(desktop)
- end
- end)
-
-- Widgets that are aligned to the bottom of the tool bar
local layout_bottom = wibox.layout.fixed.vertical()