mirror of
https://github.com/vincentbernat/i3wm-configuration.git
synced 2025-06-24 18:58:33 +02:00
tags: fix "move all tags to next screen" function
This commit is contained in:
parent
d3c4f38506
commit
df7a27a071
1 changed files with 3 additions and 2 deletions
|
@ -106,8 +106,9 @@ config.keys.global = awful.util.table.join(
|
|||
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
|
||||
local o = t.screen
|
||||
local s = awful.util.cycle(screen.count(), o + 1)
|
||||
for _, t in pairs(screen[o]:tags()) do
|
||||
shifty.tagtoscr(s, t)
|
||||
end
|
||||
end,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue