X-Git-Url: https://git.madduck.net/etc/awesome.git/blobdiff_plain/1a082181650a64efa15e235859238491833c39bc..9f7c8f11ec42744de1e01a9e0a3abf424d965e50:/.config/awesome/taghelpers.lua diff --git a/.config/awesome/taghelpers.lua b/.config/awesome/taghelpers.lua index 147a9e9..39f26f4 100644 --- a/.config/awesome/taghelpers.lua +++ b/.config/awesome/taghelpers.lua @@ -52,13 +52,14 @@ function module.rename_tag() } end -function module.move_to_new_tag(clnt, properties, volatile, switchto, force) +function module.move_to_new_tag(clnt, name, properties, volatile, switchto, force) local c = clnt or client.focus if not c then return end + local n = name or c.class local p = (type(properties) == "table" and properties) or {} local s = p.screen or c.screen - local t = module.add_tag(c.class, gears.table.join(p, { + local t = module.add_tag(n, gears.table.join(p, { screen = s, volatile = volatile, }), switchto, force)