kardorf: setup hyprland for three monitors
This commit is contained in:
@@ -115,7 +115,7 @@
|
|||||||
+ "-- Monitor config\n"
|
+ "-- Monitor config\n"
|
||||||
+ lib.concatStringsSep "\n" (
|
+ lib.concatStringsSep "\n" (
|
||||||
map (
|
map (
|
||||||
monitor: "hl.monitor({ output = \"${monitor.name}\", mode = \"preferred\", position = \"auto\", scale = \"auto\", mirror = \"\"})"
|
monitor: "hl.monitor({ output = \"${monitor.name}\", mode = \"${toString monitor.width}x${toString monitor.height}@${toString monitor.refreshRate}\", position = \"${monitor.position}\", scale = \"auto\", mirror = \"\"})"
|
||||||
)
|
)
|
||||||
config.monitors
|
config.monitors
|
||||||
)
|
)
|
||||||
|
|||||||
+31
-21
@@ -26,34 +26,44 @@
|
|||||||
is-nixos = true;
|
is-nixos = true;
|
||||||
terminal = "alacritty";
|
terminal = "alacritty";
|
||||||
|
|
||||||
# --------- ---------
|
# ---------- -------- ---------
|
||||||
# | DVI-D-1 | | DVI-D-2 |
|
# | HDMI-A-1 | | DP-1 | | DVI-D-1 |
|
||||||
# --------- ---------
|
# ---------- -------- ---------
|
||||||
monitors = [
|
monitors = [
|
||||||
{
|
{
|
||||||
name = "DVI-D-1";
|
name = "HDMI-A-1";
|
||||||
width = 1680;
|
width = 1920;
|
||||||
height = 1050;
|
height = 1080;
|
||||||
|
position = "0x0";
|
||||||
workspaces = [
|
workspaces = [
|
||||||
"1"
|
|
||||||
"2"
|
|
||||||
"3"
|
|
||||||
"4"
|
|
||||||
"5"
|
|
||||||
];
|
|
||||||
primary = true;
|
|
||||||
}
|
|
||||||
{
|
|
||||||
name = "DVI-D-2";
|
|
||||||
width = 1680;
|
|
||||||
height = 1050;
|
|
||||||
workspaces = [
|
|
||||||
"6"
|
|
||||||
"7"
|
|
||||||
"8"
|
"8"
|
||||||
"9"
|
"9"
|
||||||
"10"
|
"10"
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
{
|
||||||
|
name = "DP-1";
|
||||||
|
width = 1680;
|
||||||
|
height = 1050;
|
||||||
|
position = "1920x0";
|
||||||
|
workspaces = [
|
||||||
|
"1"
|
||||||
|
"2"
|
||||||
|
"3"
|
||||||
|
"4"
|
||||||
|
];
|
||||||
|
primary = true;
|
||||||
|
}
|
||||||
|
{
|
||||||
|
name = "DVI-D-1";
|
||||||
|
width = 1680;
|
||||||
|
height = 1050;
|
||||||
|
position = "3600x0";
|
||||||
|
workspaces = [
|
||||||
|
"5"
|
||||||
|
"6"
|
||||||
|
"7"
|
||||||
|
];
|
||||||
|
}
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user