workspace: Rename DBus method to NewWorkspace

This commit is contained in:
James Reed 2020-12-21 13:08:10 -07:00
parent 0e3abe505b
commit ce935de94d
No known key found for this signature in database
GPG Key ID: 0BE2BD33C5E8125E
1 changed files with 2 additions and 2 deletions

View File

@ -191,7 +191,7 @@ local function parse_client(s)
return c
end
function methods.Workspace(params, i)
function methods.NewWorkspace(params, i)
local args = {
clients = {},
callback = function (t)
@ -234,7 +234,7 @@ local function on_bus_acquired(conn, _)
name = 'com.github.jcrd.wm_launch.WindowManager',
methods = {
method {
name = 'Workspace',
name = 'NewWorkspace',
in_args = {
arg('name', 's'),
arg('pwd', 's'),