X-Git-Url: https://git.madduck.net/etc/awesome.git/blobdiff_plain/4e7c1d7ad2cfe755dd9b381dbdc45147a70e0628..914d63b7527b7c0c0b698ed1b1a6ad8500ea697b:/.config/awesome/rc.lua diff --git a/.config/awesome/rc.lua b/.config/awesome/rc.lua index 8ff8a12..3c760ee 100644 --- a/.config/awesome/rc.lua +++ b/.config/awesome/rc.lua @@ -599,6 +599,7 @@ default_tags = gears.table.join(default_tags, { "krafftwerk/DisplayPort-0", "present/HDMI.*", "cafe/eDP-?1", + "tournament/HDMI.*", }, }, { @@ -696,16 +697,16 @@ local function toggle_tag_by_name(tagname, exclusive) end local function move_tags_to_screen_relative(direction) - local s = awful.screen.focused() - local ts = screen:count() - (s.index + direction) % screen:count() - for _,tag in ipairs(s.selected_tags) do - print("index: " .. s.index .. " count: " .. screen:count() .. " target: " .. ts) - tag.screen = screen[ts] - - for _,t in ipairs(tag.screen.tags) do - t.selected = (tag == t) - end - end + local s = awful.screen.focused() + local ts = screen:count() - (s.index + direction) % screen:count() + for _, tag in ipairs(s.selected_tags) do + print("index: " .. s.index .. " count: " .. screen:count() .. " target: " .. ts) + tag.screen = screen[ts] + + for _, t in ipairs(tag.screen.tags) do + t.selected = (tag == t) + end + end end globalkeys = gears.table.join(