diff --git a/rc/tags.lua b/rc/tags.lua index 5352c6e..01d1617 100644 --- a/rc/tags.lua +++ b/rc/tags.lua @@ -90,8 +90,8 @@ config.keys.global = awful.util.table.join( config.keys.global, keydoc.group("Tag management"), awful.key({ modkey }, "Escape", awful.tag.history.restore, "Switch to previous tag"), - awful.key({ modkey }, "Left", awful.tag.viewprev, "View previous tag"), - awful.key({ modkey }, "Right", awful.tag.viewnext, "View next tag"), + awful.key({ modkey }, "Left", awful.tag.viewprev), + awful.key({ modkey }, "Right", awful.tag.viewnext), awful.key({ modkey, "Shift"}, "o", function() if screen.count() == 1 then return nil end @@ -102,6 +102,16 @@ config.keys.global = awful.util.table.join( awful.tag.viewonly(t) end, "Send tag to next screen"), + awful.key({ modkey, "Control", "Shift"}, "o", + function() + if screen.count() == 1 then return nil end + local t = awful.tag.selected() + local s = awful.util.cycle(screen.count(), t.screen + 1) + for _, t in ipairs(awful.tag.gettags(s, t.screen)) do + shifty.tagtoscr(s, t) + end + end, + "Send all tags to next screen"), awful.key({ modkey }, 0, shifty.add, "Create a new tag"), awful.key({ modkey, "Shift" }, 0, shifty.del, "Delete tag"), awful.key({ modkey, "Control" }, 0, shifty.rename, "Rename tag"))