X-Git-Url: https://git.madduck.net/etc/awesome.git/blobdiff_plain/934a0af2be410e2e83c842877dc7b19bfcc773e6..be0c6869bb9f450503b4cfb28a6867ceaa941a67:/.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)