Compare commits

..

2 commits

Author SHA1 Message Date
389d476f5b fix monitor scaling 2024-12-13 05:38:32 -08:00
94a804e3d9 libdrm 2024-12-13 05:34:06 -08:00
2 changed files with 6 additions and 3 deletions

View file

@ -53,8 +53,8 @@ static const MonitorRule monrules[] = {
/* example of a HiDPI laptop monitor: /* example of a HiDPI laptop monitor:
{ "eDP-1", 0.5f, 1, 2, &layouts[0], WL_OUTPUT_TRANSFORM_NORMAL, -1, -1 }, { "eDP-1", 0.5f, 1, 2, &layouts[0], WL_OUTPUT_TRANSFORM_NORMAL, -1, -1 },
*/ */
{ "HDMI-A-1", 0.5f, 1, 2, &layouts[0], WL_OUTPUT_TRANSFORM_NORMAL, 0, 0 }, { "HDMI-A-1", 0.5f, 1, 1, &layouts[0], WL_OUTPUT_TRANSFORM_NORMAL, 0, 0 },
{ "DP-1", 0.5f, 1, 2, &layouts[0], WL_OUTPUT_TRANSFORM_NORMAL, 1920, 0 }, { "DP-1", 0.5f, 1, 1, &layouts[0], WL_OUTPUT_TRANSFORM_NORMAL, 1920, 0 },
/* defaults */ /* defaults */
{ NULL, 0.55f, 1, 1, &layouts[0], WL_OUTPUT_TRANSFORM_NORMAL, -1, -1 }, { NULL, 0.55f, 1, 1, &layouts[0], WL_OUTPUT_TRANSFORM_NORMAL, -1, -1 },
}; };

View file

@ -17,7 +17,10 @@
zdwl = config.packages.default; zdwl = config.packages.default;
}; };
packages.default = pkgs.dwl.overrideAttrs (old: { packages.default = pkgs.dwl.overrideAttrs (old: {
buildInputs = old.buildInputs ++ [ pkgs.fcft ]; buildInputs = old.buildInputs ++ (with pkgs; [
fcft
libdrm.dev
]);
src = ./.; src = ./.;
}); });
}; };