diff options
-rw-r--r-- | rc.lua | 14 |
1 files changed, 7 insertions, 7 deletions
@@ -53,10 +53,10 @@ local layouts = -- }}} -- {{{ Tags -workspace = workspace.Workspace:new(layouts) +local wsp = workspace.Workspace:new(layouts) for s in screen do - workspace:add_desktop(s.index, "Desktop " .. s.index, 10) - workspace:view(s, s.index, 1) + wsp:add_desktop(s.index, "Desktop " .. s.index, 10) + wsp:view(s, s.index, 1) end -- }}} @@ -86,13 +86,13 @@ for s in screen do -- Create a tasklist widget local pgr = pager.Pager:new(s, 128, 800) - pgr:set_desktop(workspace.desktops[1]) + pgr:set_desktop(wsp.desktops[1]) - workspace.signals:connect_signal("desktop:view", + wsp.signals:connect_signal("desktop:view", function(signals, view_screen, desktop) print("desktop:view " .. desktop .. " on " .. view_screen.index) if view_screen == s then - pgr:set_desktop(workspace.desktops[desktop]) + pgr:set_desktop(wsp.desktops[desktop]) end end) @@ -131,7 +131,7 @@ clientbuttons = gears.table.join( awful.button({ commondefs.modkey }, 1, awful.mouse.client.move), awful.button({ commondefs.modkey }, 3, awful.mouse.client.resize)) -local globalkeys, clientkeys = bindings.create(workspace) +local globalkeys, clientkeys = bindings.create(wsp) -- Set keys root.keys(globalkeys) |