summaryrefslogtreecommitdiff
path: root/rc.lua
diff options
context:
space:
mode:
Diffstat (limited to 'rc.lua')
-rw-r--r--rc.lua6
1 files changed, 3 insertions, 3 deletions
diff --git a/rc.lua b/rc.lua
index 78379e2..23702d9 100644
--- a/rc.lua
+++ b/rc.lua
@@ -79,8 +79,6 @@ local wsp = workspace.Workspace:new(layouts)
for s in screen do
local panel_width = beautiful.xresources.apply_dpi(128, s)
- wsp:view(s, s.index, 1)
-
-- Create a promptbox for each screen
mypromptbox[s] = awful.widget.prompt()
@@ -98,7 +96,6 @@ for s in screen do
-- Create a tasklist widget
local pgr = pager.Pager:new(wsp, s)
- pgr:set_desktop(wsp.desktops[s.index])
-- Widgets that are aligned to the bottom of the tool bar
local layout_bottom = wibox.layout.fixed.vertical()
@@ -118,6 +115,9 @@ for s in screen do
-- Create the wibox
mywibox[s] = awful.wibar({ position = "right", screen = s, width = panel_width })
mywibox[s]:set_widget(layout)
+
+ -- show desktop <n> on <n>th screen
+ wsp:view(s, s.index, 1)
end