From: martin f. krafft Date: Thu, 17 Apr 2025 08:49:51 +0000 (+0200) Subject: more autoformat X-Git-Url: https://git.madduck.net/etc/awesome.git/commitdiff_plain/914d63b7527b7c0c0b698ed1b1a6ad8500ea697b?ds=sidebyside more autoformat --- diff --git a/.config/awesome/rc.lua b/.config/awesome/rc.lua index 064a5df..3c760ee 100644 --- a/.config/awesome/rc.lua +++ b/.config/awesome/rc.lua @@ -599,7 +599,7 @@ default_tags = gears.table.join(default_tags, { "krafftwerk/DisplayPort-0", "present/HDMI.*", "cafe/eDP-?1", - "tournament/HDMI.*" + "tournament/HDMI.*", }, }, { @@ -697,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(