diff --git a/homes/julian/features/hyprland/default.nix b/homes/julian/features/hyprland/default.nix index dbebb4f..a4978aa 100644 --- a/homes/julian/features/hyprland/default.nix +++ b/homes/julian/features/hyprland/default.nix @@ -115,7 +115,7 @@ + "-- Monitor config\n" + lib.concatStringsSep "\n" ( 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 ) diff --git a/homes/julian/kardorf.nix b/homes/julian/kardorf.nix index 1c83cfd..e7a8395 100644 --- a/homes/julian/kardorf.nix +++ b/homes/julian/kardorf.nix @@ -26,34 +26,44 @@ is-nixos = true; terminal = "alacritty"; - # --------- --------- - # | DVI-D-1 | | DVI-D-2 | - # --------- --------- + # ---------- -------- --------- + # | HDMI-A-1 | | DP-1 | | DVI-D-1 | + # ---------- -------- --------- monitors = [ { - name = "DVI-D-1"; - width = 1680; - height = 1050; + name = "HDMI-A-1"; + width = 1920; + height = 1080; + position = "0x0"; workspaces = [ - "1" - "2" - "3" - "4" - "5" - ]; - primary = true; - } - { - name = "DVI-D-2"; - width = 1680; - height = 1050; - workspaces = [ - "6" - "7" "8" "9" "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" + ]; + } ]; }