From b9df886c82df6a0ceb28a2b2b3c5c0c600d5868a Mon Sep 17 00:00:00 2001 From: "martin f. krafft" Date: Thu, 27 Jun 2024 10:29:40 +0200 Subject: [PATCH] autorandr unification across machines --- .config/awesome/rc.lua | 51 +++++++++++++++++++++++++++++++++++------- 1 file changed, 43 insertions(+), 8 deletions(-) diff --git a/.config/awesome/rc.lua b/.config/awesome/rc.lua index 55117da..74f7bd9 100644 --- a/.config/awesome/rc.lua +++ b/.config/awesome/rc.lua @@ -481,19 +481,31 @@ default_tags = gears.table.join(default_tags, { selected = true, exec_once = { terminal .. " -name irc -e env MOSH_TITLE_NOPREFIX=true mosh --family=all -- irc-host tmux new -As irc irssi" }, instance = { "irc" }, - targets = { "gauting/eDP-?1", "lehel/DisplayPort-2" }, + targets = { + "gern/DP-?[12]-1", + "gauting/eDP-?1", + "toni/eDP-?1", + "krafftwerk/DP-?1-1-5", + "krafftwerk/DisplayPort-2", + "cafe/eDP-?1" + }, }, { name = "[]", init = true, exclusive = true, master_count = 0, - column_count = 3, + column_count = 4, layout = layouts.tiled, selected = false, - exec_once = { "revolt" }, - instance = { "Revolt" }, - targets = { "gauting/eDP-?1", "lehel/DisplayPort-2" }, + targets = { + "gern/DP-?[12]-1", + "gauting/eDP-?1", + "toni/eDP-?1", + "krafftwerk/DP-?1-1-5", + "krafftwerk/DisplayPort-2", + "cafe/eDP-?1" + }, }, { name = "dflt", @@ -510,7 +522,14 @@ default_tags = gears.table.join(default_tags, { layout = layouts.default, exec_once = { "thunderbird" }, class = { "thunderbird" }, - targets = { "gauting/eDP-?1", "lehel/DisplayPort-1" }, + targets = { + "gern/DP-?[12]-1", + "gauting/eDP-?1", + "toni/eDP-?1", + "krafftwerk/DP-?1-1-6", + "krafftwerk/DisplayPort-0", + "cafe/eDP-?1" + }, }, { name = "chr", @@ -519,7 +538,15 @@ default_tags = gears.table.join(default_tags, { layout = layouts.default, exec_once = { "chromium" }, class = { "Chromium" }, - targets = { "gauting/eDP-?1", "lehel/DisplayPort-1", "present/HDMI.*" }, + targets = { + "gern/DP-?[12]-1", + "gauting/eDP-?1", + "toni/DP-?2-2", + "krafftwerk/DP-?1-1-6", + "krafftwerk/DisplayPort-0", + "present/HDMI.*", + "cafe/eDP-?1" + }, }, { name = "ffx", @@ -528,7 +555,15 @@ default_tags = gears.table.join(default_tags, { layout = layouts.default, exec_once = { "firefox" }, class = { "Firefox" }, - targets = { "gauting/eDP-?1", "lehel/DisplayPort-1", "present/HDMI.*" }, + targets = { + "gern/DP-?[12]-1", + "gauting/eDP-?1", + "toni/DP-?2-2", + "krafftwerk/DP-?1-1-6", + "krafftwerk/DisplayPort-0", + "present/HDMI.*", + "cafe/eDP-?1" + }, }, }) -- 2.39.5