xps named monitors

This commit is contained in:
Lennart J. Kurzweg (Nx2)
2025-07-29 15:50:39 +02:00
parent 0821124f4f
commit dee4b516b0

View File

@@ -4,65 +4,18 @@ let
transparency = builtins.toString rice.transparency; transparency = builtins.toString rice.transparency;
terminal = "ghostty"; terminal = "ghostty";
terminal-exec = "ghostty --command="; terminal-exec = "ghostty --command=";
monitors = let monitors = {
docked = false;
in {
xps = { xps = {
main = if docked then { main = { name = "eDP-1"; resolution = "1920x1200"; position = "0x1080"; scale = "1.0"; };
name = "DP-5"; second = { name = "desc:Sony SONY TV 0x01010101"; resolution = "1920x1080"; position = "0x0"; scale = "1.0"; };
resolution = "1920x1080";
position = "1920x0";
scale = "1.0";
} else {
name = "eDP-1";
resolution = "1920x1200";
position = "0x1080";
scale = "1.0";
};
second = if docked then {
name = "DP-6";
resolution = "1920x1080";
position = "0x0";
scale = "1.0";
} else {
name = "DP-3";
resolution = "1920x1080";
position = "0x0";
scale = "1.0";
};
}; };
north = { north = {
main = { main = { name = "desc:Iiyama North America PL3270Q na"; resolution = "2560x1440"; position = "1920x150"; scale = "1.0"; };
# name = "DP-1"; left = { name = "desc:Philips Consumer Electronics Company 273PLPH AU11423002132"; resolution = "1920x1080"; position = "0x0"; scale = "1.0"; };
name = "desc:Iiyama North America PL3270Q na"; # right = { name = "HDMI-A-2"; resolution = "1920x1080"; position = "4480x360"; scale = "1.0"; };
# name = "DP-4";
# name = "DP-3";
resolution = "2560x1440";
position = "1920x150";
scale = "1.0";
};
left = {
# name = "HDMI-A-2";
name = "desc:Philips Consumer Electronics Company 273PLPH AU11423002132";
# name = "HDMI-A-1";
resolution = "1920x1080";
position = "0x0";
scale = "1.0";
};
# right = {
# name = "HDMI-A-2";
# resolution = "1920x1080";
# position = "4480x360";
# scale = "1.0";
# };
}; };
ace = { ace = {
main = { main = { name = "HDMI-A-1"; resolution = "3840x2160"; position = "0x0"; scale = "2.0"; };
name = "HDMI-A-1";
resolution = "3840x2160";
position = "0x0";
scale = "2.0";
};
}; };
}; };
in { in {
@@ -308,7 +261,7 @@ in {
# "opacity ${transparency}, class:^(Element)$" # "opacity ${transparency}, class:^(Element)$"
"opacity ${transparency}, class:^(lutris)$" "opacity ${transparency}, class:^(lutris)$"
"opacity ${transparency}, class:^(neovide)$" "opacity ${transparency}, class:^(neovide)$"
"opacity ${transparency}, class:^(obsidian)$" # "opacity ${transparency}, class:^(obsidian)$"
"opacity ${transparency}, class:^(vesktop)$" "opacity ${transparency}, class:^(vesktop)$"
"opacity ${transparency}, class:^(VSCodium)$" "opacity ${transparency}, class:^(VSCodium)$"
"opacity ${transparency}, title:^(wlogout)$" "opacity ${transparency}, title:^(wlogout)$"
@@ -725,7 +678,7 @@ in {
valign = bottom valign = bottom
} }
''; '';
}; };
} }